2021-05-19 Fred Gleason <fredg@paravelsystems.com>

* Fixed typos in 'debian/control'.
	* Implemented 'postinst', 'prerm' and 'postrm' script for
	DEB packages.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-05-19 09:53:41 -04:00
parent d34c61ad17
commit 76b71d0fdd
6 changed files with 90 additions and 23 deletions

10
debian/postrm vendored
View File

@@ -1,5 +1,5 @@
#!/bin/sh
# postrm script for fdk-aac
# postrm script for Rivendell
#
# see: dh_installdeb(1)
@@ -21,8 +21,12 @@ set -e
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
/bin/systemctl daemon-reload
ldconfig
if test -x /usr/bin/gtk-update-icon-cache ; then
/usr/bin/gtk-update-icon-cache --quiet /usr/share/icons/hicolor
fi
/bin/systemctl daemon-reload
rm -f /etc/apache2/conf-enabled/rd-bin.conf
/bin/systemctl restart apache2
;;
*)