debugging

This commit is contained in:
James Barnett 2017-04-18 20:29:27 -05:00
parent 9f8816b103
commit 3bbd2a3152
No known key found for this signature in database
GPG key ID: E4B5E45AA3B8C5C3

View file

@ -89,8 +89,8 @@ for CONFIG in $SNAPPER_CONFIGS; do
[[ -d /boot/old ]] || mkdir -p /boot/old [[ -d /boot/old ]] || mkdir -p /boot/old
find /usr/lib/modules -xtype l -delete find /usr/lib/modules -xtype l -delete
find /boot/old -xtype l -delete find /boot/old -xtype l -delete
ln -s /.snapshots/$x/snapshot/boot/vmlinuz-linux/boot/old/vmlinuz-linux-$(uname -r) ln -sv /.snapshots/$x/snapshot/boot/vmlinuz-linux/boot/old/vmlinuz-linux-$(uname -r)
ln -s /.snapshots/$x/snapshot/usr/lib/modules/$(uname -r) /usr/lib/modules/ ln -sv /.snapshots/$x/snapshot/usr/lib/modules/$(uname -r) /usr/lib/modules/
fi fi
elif [[ -f $prefile && "$pre_or_post" == "post" ]]; then elif [[ -f $prefile && "$pre_or_post" == "post" ]]; then
if [[ "$PACMAN_KEEP_OLD_KERNELS" == "yes" && "$kernel_updated" == "yes" ]]; then if [[ "$PACMAN_KEEP_OLD_KERNELS" == "yes" && "$kernel_updated" == "yes" ]]; then