mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-31 18:46:02 +00:00
Properly remove /etc/davical/.keep/keepme
This commit is contained in:
parent
ffdc13183f
commit
b8512ad520
7
debian/davical.postinst
vendored
7
debian/davical.postinst
vendored
@ -14,4 +14,11 @@ case $1 in
|
||||
;;
|
||||
esac
|
||||
|
||||
dpkg-maintscript-helper rm_conffile /etc/davical/.keep/keepme 1.1.4-1~ davical -- "$@"
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
# remove leftover /etc/davical/.keep directory, if empty (cf. #584185)
|
||||
[ -d /etc/davical/.keep ] && rmdir --ignore-fail-on-non-empty /etc/davical/.keep
|
||||
|
||||
exit 0
|
||||
|
||||
10
debian/davical.postrm
vendored
10
debian/davical.postrm
vendored
@ -7,9 +7,11 @@ PACKAGE=::package::
|
||||
|
||||
[ -n "${DEBUG}" ] && echo "PostRM Parameters: $@"
|
||||
|
||||
case $1 in
|
||||
purge)
|
||||
;;
|
||||
esac
|
||||
dpkg-maintscript-helper rm_conffile /etc/davical/.keep/keepme 1.1.4-1~ davical -- "$@"
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
# remove leftover /etc/davical/.keep directory, if empty (cf. #584185)
|
||||
[ -d /etc/davical/.keep ] && rmdir --ignore-fail-on-non-empty /etc/davical/.keep
|
||||
|
||||
exit 0
|
||||
|
||||
7
debian/davical.preinst
vendored
Normal file
7
debian/davical.preinst
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
dpkg-maintscript-helper rm_conffile /etc/davical/.keep/keepme 1.1.4-1~ davical -- "$@"
|
||||
|
||||
#DEBHELPER#
|
||||
Loading…
x
Reference in New Issue
Block a user