Fix my backwards logic.

Submitted by:	dirk
This commit is contained in:
David E. O'Brien 2001-09-03 20:23:59 +00:00
parent f0ffb944d2
commit d0f44c4dad
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82885
3 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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"