diff options
author | asami <asami@FreeBSD.org> | 1996-12-04 19:06:05 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1996-12-04 19:06:05 +0800 |
commit | c4dac416b4e4bb39dbf2b87c373e84721d7b0cb0 (patch) | |
tree | 219c583ee128811bb09bbc860d89ca332e2cff8f /audio/xmcd | |
parent | c1bd6c131b998bdfb374cf6506170018b5896ce4 (diff) | |
download | freebsd-ports-gnome-c4dac416b4e4bb39dbf2b87c373e84721d7b0cb0.tar.gz freebsd-ports-gnome-c4dac416b4e4bb39dbf2b87c373e84721d7b0cb0.tar.zst freebsd-ports-gnome-c4dac416b4e4bb39dbf2b87c373e84721d7b0cb0.zip |
Only ask essential questions (i.e., don't ask if it's ok to put the
binary in /usr/X11R6/bin, if that's not ok, 400 ports will break anyway).
Submitted by: "Daniel M. Eischen" <deischen@iworks.InterWorks.org>
Diffstat (limited to 'audio/xmcd')
-rw-r--r-- | audio/xmcd/files/patch-ab | 137 |
1 files changed, 137 insertions, 0 deletions
diff --git a/audio/xmcd/files/patch-ab b/audio/xmcd/files/patch-ab new file mode 100644 index 000000000000..f1fe4febd1d7 --- /dev/null +++ b/audio/xmcd/files/patch-ab @@ -0,0 +1,137 @@ +*** install.sh.orig Tue Dec 3 19:27:22 1996 +--- install.sh Tue Dec 3 20:18:07 1996 +*************** +*** 47,52 **** +--- 47,55 ---- + ERRFILE=/tmp/xmcd.err + TMPFILE=/tmp/xmcdinst.$$ + ++ # Flag for indicating we do not want to prompt the user if possible. ++ NO_PROMPT=1 ++ + # + # Utility functions + # +*************** +*** 542,548 **** + + while : + do +! if getstr "\nEnter X binary directory\n[${BINDIR}]:" + then + if [ -d "$ANS" ] + then +--- 545,555 ---- + + while : + do +! if [ -n "$NO_PROMPT" ] +! then +! $ECHO "X binary directory - using ${BINDIR}" +! break +! elif getstr "\nEnter X binary directory\n[${BINDIR}]:" + then + if [ -d "$ANS" ] + then +*************** +*** 594,600 **** + + while : + do +! if getstr "\nEnter X library directory\n[${LIBDIR}]:" + then + if [ -d "$ANS" ] + then +--- 601,611 ---- + + while : + do +! if [ -n "$NO_PROMPT" ] +! then +! $ECHO "X library directory - using ${LIBDIR}" +! break +! elif getstr "\nEnter X library directory\n[${LIBDIR}]:" + then + if [ -d "$ANS" ] + then +*************** +*** 613,619 **** + APPDEFAULTSDIR=$LIBDIR/app-defaults + while : + do +! if getstr "\nEnter X app-defaults directory\n[${APPDEFAULTSDIR}]:" + then + if [ -d "$ANS" ] + then +--- 624,634 ---- + APPDEFAULTSDIR=$LIBDIR/app-defaults + while : + do +! if [ -n "$NO_PROMPT" ] +! then +! $ECHO "X app-defaults directory - using ${LIBDIR}" +! break +! elif getstr "\nEnter X app-defaults directory\n[${APPDEFAULTSDIR}]:" + then + if [ -d "$ANS" ] + then +*************** +*** 648,654 **** + MANFILE=`echo $MANFILE | sed 's/\/\//\//g'` + fi + +! if getstr "\nEnter xmcd on-line manual file path\n[${MANFILE}]:" + then + MANFILE=$ANS + fi +--- 663,672 ---- + MANFILE=`echo $MANFILE | sed 's/\/\//\//g'` + fi + +! if [ -n "$NO_PROMPT" ] +! then +! $ECHO "xmcd on-line manual file path - using ${MANFILE}" +! elif getstr "\nEnter xmcd on-line manual file path\n[${MANFILE}]:" + then + MANFILE=$ANS + fi +*************** +*** 670,676 **** + # Determine CMANFILE + + CMANFILE="`dirname $MANFILE`/`basename $MANFILE | sed 's/xmcd/cda/'`" +! if getstr "\nEnter cda on-line manual file path\n[${CMANFILE}]:" + then + CMANFILE=$ANS + fi +--- 688,697 ---- + # Determine CMANFILE + + CMANFILE="`dirname $MANFILE`/`basename $MANFILE | sed 's/xmcd/cda/'`" +! if [ -n "$NO_PROMPT" ] +! then +! $ECHO "cda on-line manual file path - using ${CMANFILE}" +! elif getstr "\nEnter cda on-line manual file path\n[${CMANFILE}]:" + then + CMANFILE=$ANS + fi +*************** +*** 692,698 **** + # Determine WMANFILE + + WMANFILE="`dirname $MANFILE`/`basename $MANFILE | sed 's/xmcd/wm2xmcd/'`" +! if getstr "\nEnter wm2xmcd on-line manual file path\n[${WMANFILE}]:" + then + WMANFILE=$ANS + fi +--- 713,722 ---- + # Determine WMANFILE + + WMANFILE="`dirname $MANFILE`/`basename $MANFILE | sed 's/xmcd/wm2xmcd/'`" +! if [ -n "$NO_PROMPT" ] +! then +! $ECHO "wm2xmcd on-line manual file path - using ${WMANFILE}" +! elif getstr "\nEnter wm2xmcd on-line manual file path\n[${WMANFILE}]:" + then + WMANFILE=$ANS + fi |