Set BATCH=yes to avoid bumping into interactivity in the port builds.
XXX /usr/ports is still hardcoded, should be ${PORTSDIR}
This commit is contained in:
parent
404e9eb472
commit
b436785ed4
@ -37,7 +37,7 @@ type mkisofs 2>&1 | grep " is " >/dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
echo The cdrtools port is not installed. Trying to get it now.
|
||||
if [ -f /usr/ports/sysutils/cdrtools/Makefile ]; then
|
||||
cd /usr/ports/sysutils/cdrtools && make install && make clean
|
||||
cd /usr/ports/sysutils/cdrtools && make install BATCH=yes && make clean
|
||||
else
|
||||
if ! pkg_add -r cdrtools; then
|
||||
echo "Could not get it via pkg_add - please go install this"
|
||||
@ -56,7 +56,7 @@ type setcdboot 2>&1 | grep " is " >/dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
echo The setcdboot port is not installed. Trying to get it now.
|
||||
if [ -f /usr/ports/sysutils/setcdboot/Makefile ]; then
|
||||
cd /usr/ports/sysutils/setcdboot && make install && make clean
|
||||
cd /usr/ports/sysutils/setcdboot && make install BATCH=yes && make clean
|
||||
else
|
||||
if ! pkg_add -r setcdboot; then
|
||||
echo "Could not get it via pkg_add - please go install this"
|
||||
|
@ -40,7 +40,7 @@ type mkisofs 2>&1 | grep " is " >/dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
echo The cdrtools port is not installed. Trying to get it now.
|
||||
if [ -f /usr/ports/sysutils/cdrtools/Makefile ]; then
|
||||
cd /usr/ports/sysutils/cdrtools && make install && make clean
|
||||
cd /usr/ports/sysutils/cdrtools && make install BATCH=yes && make clean
|
||||
else
|
||||
if ! pkg_add -r cdrtools; then
|
||||
echo "Could not get it via pkg_add - please go install this"
|
||||
|
@ -42,7 +42,7 @@ type mkisofs 2>&1 | grep " is " >/dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
echo The cdrtools port is not installed. Trying to get it now.
|
||||
if [ -f /usr/ports/sysutils/cdrtools/Makefile ]; then
|
||||
cd /usr/ports/sysutils/cdrtools && make install && make clean
|
||||
cd /usr/ports/sysutils/cdrtools && make install BATCH=yes && make clean
|
||||
else
|
||||
if ! pkg_add -r cdrtools; then
|
||||
echo "Could not get it via pkg_add - please go install this"
|
||||
|
@ -56,7 +56,7 @@ if ! which mkisofs; then
|
||||
if ! pkg_add -r cdrtools; then
|
||||
if [ -f /usr/ports/sysutils/cdrtools/Makefile ]; then
|
||||
echo "Don't worry; building the port..."
|
||||
if ! (cd $MKISOFS_PORT && make install && make clean); then
|
||||
if ! (cd $MKISOFS_PORT && make install BATCH=yes && make clean); then
|
||||
echo "Worry; reverting to hackery..."
|
||||
hackery
|
||||
fi
|
||||
|
@ -52,7 +52,7 @@ type mkisofs 2>&1 | grep " is " >/dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
echo The cdrtools port is not installed. Trying to get it now.
|
||||
if [ -f /usr/ports/sysutils/cdrtools/Makefile ]; then
|
||||
cd /usr/ports/sysutils/cdrtools && make install && make clean
|
||||
cd /usr/ports/sysutils/cdrtools && make install BATCH=yes && make clean
|
||||
else
|
||||
if ! pkg_add -r cdrtools; then
|
||||
echo "Could not get it via pkg_add - please go install this"
|
||||
|
Loading…
Reference in New Issue
Block a user