diff --git a/arch_post_update_update_boot.sh b/arch_post_update_update_boot.sh index 014a0b0..de5b404 100755 --- a/arch_post_update_update_boot.sh +++ b/arch_post_update_update_boot.sh @@ -54,7 +54,7 @@ mkdir $ARCH_BOOT_DST_CURRENT_VERSION || ask_overwrite; ( cd $ARCH_BOOT_DST; # Re-link the good version - test -f $BOOT_SYMLINK && rm $BOOT_SYMLINK; + test -h $BOOT_SYMLINK && rm $BOOT_SYMLINK; ln -s $CURRENT_VERSION current; )