-if [ -L /boot/$image -a -L /boot/initrd -a \
- "$(readlink /boot/$image)" != $image-%ver_str -a \
- "$(readlink /boot/initrd)" != initrd-%ver_str ]; then
- mv /boot/$image /boot/$image.previous
- mv /boot/initrd /boot/initrd.previous
+if [ -L /boot/$image$SHORTNM -a \
+ "$(readlink /boot/$image$SHORTNM)" != $image-%ver_str ]; then
+ mv /boot/$image$SHORTNM /boot/$image$SHORTNM.previous