summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-06-05 12:59:01 +0200
committerDaniel Baumann <daniel@debian.org>2012-06-05 12:59:01 +0200
commit4db854d39ebaa00f9776d6c7e69bbd5bb9990c09 (patch)
tree9eabffbae3b339941a89ba89b65741f59100a61c /debian
parent67167af1daf8753c9684ea108e6599b4c2224943 (diff)
downloadvyos-live-build-4db854d39ebaa00f9776d6c7e69bbd5bb9990c09.tar.gz
vyos-live-build-4db854d39ebaa00f9776d6c7e69bbd5bb9990c09.zip
Correcting cron.d directory removal in postrm.
Diffstat (limited to 'debian')
-rw-r--r--debian/live-build-cron.postrm4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/live-build-cron.postrm b/debian/live-build-cron.postrm
index 6b7eeb69b..ea395e2cb 100644
--- a/debian/live-build-cron.postrm
+++ b/debian/live-build-cron.postrm
@@ -10,7 +10,7 @@ case "${1}" in
rmdir --ignore-fail-on-non-empty /etc/live 2>&1 || true
rm -f /etc/cron.d/live-build-cron-manual
- rmdir --ignore-fail-on-non-empty /etc/cron.d/live-build-cron-manual 2>&1 || true
+ rmdir --ignore-fail-on-non-empty /etc/cron.d 2>&1 || true
# manual
rm -f /etc/live/build-cron.d/manual.conf
@@ -18,7 +18,7 @@ case "${1}" in
rmdir --ignore-fail-on-non-empty /etc/live 2>&1 || true
rm -f /etc/cron.d/live-build-cron-images
- rmdir --ignore-fail-on-non-empty /etc/cron.d/live-build-cron-images 2>&1 || true
+ rmdir --ignore-fail-on-non-empty /etc/cron.d 2>&1 || true
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)