[fix] arch_post_update_update_boot.sh : fix test if symlink exists
This commit is contained in:
parent
1c4715ade0
commit
352a293f12
|
@ -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;
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue