diff options
-rw-r--r-- | release/alpha/mkisoimages.sh | 4 | ||||
-rw-r--r-- | release/amd64/mkisoimages.sh | 2 | ||||
-rw-r--r-- | release/i386/mkisoimages.sh | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/release/alpha/mkisoimages.sh b/release/alpha/mkisoimages.sh index 8fdab180..224bc4d 100644 --- a/release/alpha/mkisoimages.sh +++ b/release/alpha/mkisoimages.sh @@ -34,7 +34,7 @@ if [ $# -lt 3 ]; then fi type mkisofs 2>&1 | grep " is " >/dev/null -if [ $? -eq 0 ]; then +if [ $? -ne 0 ]; then echo The mkisofs port is not installed. Trying to get it now. if ! pkg_add -r mkisofs; then echo "Could not get it via pkg_add - please go install this" @@ -49,7 +49,7 @@ NAME=$1; shift mkisofs -r -J -h -V $LABEL -o $NAME $* type setcdboot 2>&1 | grep " is " >/dev/null -if [ $? -eq 0 ]; then +if [ $? -ne 0 ]; then echo The setcdboot port is not installed. Trying to get it now. if ! pkg_add -r setcdboot; then echo "Could not get it via pkg_add - please go install this" diff --git a/release/amd64/mkisoimages.sh b/release/amd64/mkisoimages.sh index c61ee55..1360d1c 100644 --- a/release/amd64/mkisoimages.sh +++ b/release/amd64/mkisoimages.sh @@ -37,7 +37,7 @@ if [ $# -lt 3 ]; then fi type mkisofs 2>&1 | grep " is " >/dev/null -if [ $? -eq 0 ]; then +if [ $? -ne 0 ]; then echo The mkisofs port is not installed. Trying to get it now. if ! pkg_add -r mkisofs; then echo "Could not get it via pkg_add - please go install this" diff --git a/release/i386/mkisoimages.sh b/release/i386/mkisoimages.sh index c61ee55..1360d1c 100644 --- a/release/i386/mkisoimages.sh +++ b/release/i386/mkisoimages.sh @@ -37,7 +37,7 @@ if [ $# -lt 3 ]; then fi type mkisofs 2>&1 | grep " is " >/dev/null -if [ $? -eq 0 ]; then +if [ $? -ne 0 ]; then echo The mkisofs port is not installed. Trying to get it now. if ! pkg_add -r mkisofs; then echo "Could not get it via pkg_add - please go install this" |