From 27ec12f3734809053ab94af307af1f2aa1be766b Mon Sep 17 00:00:00 2001 From: lw-everestlinux Date: Fri, 7 Oct 2022 11:40:00 -0400 Subject: [PATCH] Add hooks.sh for legacy usrpkgs --- src/hooks.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 src/hooks.sh diff --git a/src/hooks.sh b/src/hooks.sh new file mode 100755 index 0000000..ad5edda --- /dev/null +++ b/src/hooks.sh @@ -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