Enable skyaware module in postinst file

This commit is contained in:
eric1tran 2021-03-08 19:29:41 +00:00
parent 2c47717360
commit e7d39c9abb
1 changed files with 7 additions and 0 deletions

View File

@ -63,6 +63,13 @@ case "$1" in
fi
fi
if dpkg --compare-versions "$2" lt-nl "5.0"
then
echo "Enabling lighttpd skyaware module.." >&2
lighty-enable-mod skyaware || true
fi
echo "Restarting lighttpd.." >&2
invoke-rc.d lighttpd restart || true
;;