[fix] arch_post_update_update_boot.sh : fix test if symlink exists

This commit is contained in:
msleaveamix 2024-11-04 12:48:10 +01:00
parent 1c4715ade0
commit 352a293f12
Signed by untrusted user who does not match committer: masq
GPG Key ID: 35A0D64DDE13B10F
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ mkdir $ARCH_BOOT_DST_CURRENT_VERSION || ask_overwrite;
( (
cd $ARCH_BOOT_DST; cd $ARCH_BOOT_DST;
# Re-link the good version # Re-link the good version
test -f $BOOT_SYMLINK && rm $BOOT_SYMLINK; test -h $BOOT_SYMLINK && rm $BOOT_SYMLINK;
ln -s $CURRENT_VERSION current; ln -s $CURRENT_VERSION current;
) )