mkspec.sh: Now only running mkinitrd_setup if it exists (i.e. not on SuSE 10.1)

This commit is contained in:
Jan Lindemann 2009-04-08 08:00:30 +00:00 committed by Jan Lindemann
commit c695e24dd6

View file

@ -72,7 +72,7 @@ echo ""
echo "%post -n $NAME-run"
if [ "$TARGET" != mingw ]; then
echo "/opt/ytools/bin/jcs init"
echo "/sbin/mkinitrd_setup"
echo "if [ -x /sbin/mkinitrd_setup ]; then /sbin/mkinitrd_setup; fi"
fi
echo ""
echo "%clean"