diff --git a/make/mkspec.sh b/make/mkspec.sh index 9f9e19d6..79d446fe 100644 --- a/make/mkspec.sh +++ b/make/mkspec.sh @@ -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"