Fix my backwards logic.
Submitted by: dirk
This commit is contained in:
parent
f0ffb944d2
commit
d0f44c4dad
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user