Add hooks.sh for legacy usrpkgs

This commit is contained in:
lw-everestlinux 2022-10-07 11:40:00 -04:00
parent 6dbb63378e
commit 27ec12f373

8
src/hooks.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
# This file is meant to maintain legacy support.
printf "This package uses the legacy hooks file (/etc/glacier/hooks.sh).\n"
printf ">>> This is not an error. <<< There is no manual intervention needed.\n"
printf "If you are the maintainer of this package, please update your usrbuild.sh, usrupdate.sh, and usrremove.sh accordingly.\n"
source /etc/glacier/hooks && /etc/glacier/hooks