From d0f44c4dadf6b1e342c1597d14cca521b71d5ec6 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Mon, 3 Sep 2001 20:23:59 +0000 Subject: [PATCH] Fix my backwards logic. Submitted by: dirk --- release/alpha/mkisoimages.sh | 4 ++-- release/amd64/mkisoimages.sh | 2 +- 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 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"