Pacman hooks creating unified kernel images for snapshots created by snap-pac.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
616 B

cp ./src/ /usr/local/bin/snap-pac-uki
echo "installed script."
if not test -d "/etc/snap-pac-uki"
mkdir -p "/etc/snap-pac-uki"
echo "created config dir."
if not test -f "/etc/snap-pac-uki/"
cp ./src/ /etc/snap-pac-uki/
echo "installed config script."
cp ./src/ /etc/snap-pac-uki/
echo "found existing config script -> installed as -new file."
cp ./pacman/* /usr/share/libalpm/hooks/
echo "installed pacman hooks."
cp ./systemd/* /etc/systemd/system/
echo "installed systemd unit files"