Ahenk/debian/ahenk.postinst.debhelper

16 lines
421 B
Text
Raw Permalink Normal View History

2020-04-06 18:10:41 +03:00
# Automatically added by dh_python3:
if which py3compile >/dev/null 2>&1; then
py3compile -p ahenk /usr/share/ahenk -V 3.2-
fi
# End automatically added section
# Automatically added by dh_installinit
2021-09-08 15:17:24 +03:00
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
if [ -x "/etc/init.d/ahenk" ]; then
2020-04-06 18:10:41 +03:00
update-rc.d ahenk defaults >/dev/null
invoke-rc.d ahenk start || exit $?
fi
fi
# End automatically added section