debugging
This commit is contained in:
parent
9f8816b103
commit
3bbd2a3152
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue