more verbose
This commit is contained in:
parent
3a904dac0e
commit
1135776e93
1 changed files with 3 additions and 2 deletions
|
|
@ -93,8 +93,9 @@ for CONFIG in $SNAPPER_CONFIGS; do
|
|||
printf "==> %s: $(echo $x | tee "$prefile")\n" "$CONFIG"
|
||||
elif [[ -f $prefile && "$pre_or_post" == "post" ]]; then
|
||||
if [[ "$PACMAN_LINK_MODULES" == "yes" && "$kernel_updated" == "yes" ]]; then
|
||||
printf "==> Linking old kernel modules...\n"
|
||||
find /usr/lib/modules -xtype l -delete
|
||||
printf "==> Deleting broken kernel modules symlinks...\n"
|
||||
find /usr/lib/modules -xtype l -delete -print
|
||||
printf "==> Symlinking old kernel modules...\n"
|
||||
ln -sv /.snapshots/$(<$prefile)/snapshot/usr/lib/modules/$(uname -r) /usr/lib/modules/
|
||||
fi
|
||||
x=$($snapper_cmd "$(truncate_description $PACMAN_POST_DESCRIPTION)" --pre-number "$(< "$prefile")")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue