bootdisk/trunk/batch-installer/installer-boot
hawk
cvs at pld-linux.org
Sun Mar 19 22:43:24 CET 2006
Author: hawk
Date: Sun Mar 19 22:43:17 2006
New Revision: 7241
Modified:
bootdisk/trunk/batch-installer/installer-boot
Log:
- create symlinks only if they don't exist
Modified: bootdisk/trunk/batch-installer/installer-boot
==============================================================================
--- bootdisk/trunk/batch-installer/installer-boot (original)
+++ bootdisk/trunk/batch-installer/installer-boot Sun Mar 19 22:43:17 2006
@@ -90,8 +90,8 @@
# since kernel24 package creates /boot/vmlinuz24, we must create
# vmlinuz symlink
if test -f /dest/boot/vmlinuz24 ; then
- ln -s vmlinuz24 /dest/boot/vmlinuz
- ln -s initrd24 /dest/boot/initrd
+ test -f /dest/boot/vmlinuz || ln -s vmlinuz24 /dest/boot/vmlinuz
+ test -f /dest/boot/initrd || ln -s initrd24 /dest/boot/initrd
fi
case "$dest_boot_device" in
More information about the pld-cvs-commit
mailing list