mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 19:52:44 +00:00
Fix my backwards logic.
Submitted by: dirk
This commit is contained in:
parent
f0ffb944d2
commit
d0f44c4dad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82885
@ -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