From 3bbd2a3152837e452168bf2ea954f2c1f3f3e698 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Tue, 18 Apr 2017 20:29:27 -0500 Subject: [PATCH] debugging --- scripts/snap-pac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/snap-pac b/scripts/snap-pac index 53e40db..5f94b65 100755 --- a/scripts/snap-pac +++ b/scripts/snap-pac @@ -89,8 +89,8 @@ for CONFIG in $SNAPPER_CONFIGS; do [[ -d /boot/old ]] || mkdir -p /boot/old find /usr/lib/modules -xtype l -delete find /boot/old -xtype l -delete - ln -s /.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/boot/vmlinuz-linux/boot/old/vmlinuz-linux-$(uname -r) + ln -sv /.snapshots/$x/snapshot/usr/lib/modules/$(uname -r) /usr/lib/modules/ fi elif [[ -f $prefile && "$pre_or_post" == "post" ]]; then if [[ "$PACMAN_KEEP_OLD_KERNELS" == "yes" && "$kernel_updated" == "yes" ]]; then