diff --git a/release/alpha/mkisoimages.sh b/release/alpha/mkisoimages.sh index 8fdab1808410..224bc4db52d5 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 c61ee5526a15..1360d1c4f7ec 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 c61ee5526a15..1360d1c4f7ec 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"