summaryrefslogtreecommitdiff
path: root/debian/live-build-cron.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/live-build-cron.postrm')
-rw-r--r--debian/live-build-cron.postrm31
1 files changed, 31 insertions, 0 deletions
diff --git a/debian/live-build-cron.postrm b/debian/live-build-cron.postrm
new file mode 100644
index 000000000..f38627677
--- /dev/null
+++ b/debian/live-build-cron.postrm
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+set -e
+
+_DIRECTORY="/srv/debian.net/live-manual"
+
+case "${1}" in
+ remove)
+ if [ -d "${_DIRECTORY}" ]
+ then
+ rmdir --ignore-fail-on-non-empty "${_DIRECTORY}" || true
+ fi
+ ;;
+
+ purge)
+ #rm -rf "${_DIRECTORY}"
+ ;;
+
+ upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0