diff options
author | B Stack <bgstack15@gmail.com> | 2021-01-07 20:52:38 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2021-01-07 20:56:10 -0500 |
commit | badcb48cd279f0e2a0ed7eae2661171f2411e647 (patch) | |
tree | 920d3319404ece4811fd7f8bea5ef96ba52021e1 /debian/postrm | |
download | fuss-badcb48cd279f0e2a0ed7eae2661171f2411e647.tar.gz fuss-badcb48cd279f0e2a0ed7eae2661171f2411e647.tar.bz2 fuss-badcb48cd279f0e2a0ed7eae2661171f2411e647.zip |
initial commit
Diffstat (limited to 'debian/postrm')
-rw-r--r-- | debian/postrm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/postrm b/debian/postrm new file mode 100644 index 0000000..29efbb0 --- /dev/null +++ b/debian/postrm @@ -0,0 +1,23 @@ +#!/bin/sh +set -e + +#DEBHELPER# +OUT=/dev/null +HOME=/var/www/fuss +SERVICE=fuss + +case "$1" in + purge) + update-rc.d -f ${SERVICE} remove + rm -f ${HOME}/upload/.*.meta 1>${OUT} 2>&1 || : + ;; + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +exit 0 |