ffplayout/debian/postrm

24 lines
408 B
Plaintext
Raw Normal View History

2023-06-13 08:25:11 -04:00
#!/bin/sh
#DEBHELPER#
sysUser="ffpu"
case "$1" in
abort-install|purge)
deluser $sysUser
rm -rf /usr/share/ffplayout /var/log/ffplayout /var/lib/ffplayout /home/$sysUser
2023-06-13 08:25:11 -04:00
;;
remove)
rm -rf /var/log/ffplayout
;;
upgrade|failed-upgrade|abort-upgrade|disappear)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac