diff options
author | jkh <jkh@FreeBSD.org> | 1994-12-01 20:11:52 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1994-12-01 20:11:52 +0000 |
commit | c07b8f0f9b3c5995554786558fb9e6e0eab0dda8 (patch) | |
tree | 06b09b3f1487da13a88bec93fdd7751c0022b052 /release/instdist.sh | |
parent | a550201d28950aa7fbd5f030a581b268de6f0585 (diff) | |
download | FreeBSD-src-c07b8f0f9b3c5995554786558fb9e6e0eab0dda8.zip FreeBSD-src-c07b8f0f9b3c5995554786558fb9e6e0eab0dda8.tar.gz |
1. the prgboxes aren't working at all. Stop using them for tape
extraction.
2. If what's extracted from the tape is a subdir, cd into it before attempting
to extract it.
Diffstat (limited to 'release/instdist.sh')
-rw-r--r-- | release/instdist.sh | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/release/instdist.sh b/release/instdist.sh index e76ea63..d169dda 100644 --- a/release/instdist.sh +++ b/release/instdist.sh @@ -10,7 +10,7 @@ # putting your name on top after doing something trivial like reindenting # it, just to make it look like you wrote it!). # -# $Id: instdist.sh,v 1.35 1994/11/30 11:58:29 jkh Exp $ +# $Id: instdist.sh,v 1.37 1994/12/01 13:46:11 jkh Exp $ if [ "${_INSTINST_SH_LOADED_}" = "yes" ]; then return 0 @@ -187,15 +187,12 @@ media_install_set() confirm "Please mount tape for ${MEDIA_DEVICE}." if [ "${MEDIA_DEVICE}" = "ftape" ]; then progress "${FT_CMD} | ${TAR_CMD} ${TAR_FLAGS} -" - dialog --title "Results of floppy tape extract" \ - --prgbox "${FT_CMD} | ${TAR_CMD} ${TAR_FLAGS} -" \ - 10 72 + ${FT_CMD} | ${TAR_CMD} ${TAR_FLAGS} - > /dev/ttyv1 2>&1 else progress "${TAR_CMD} ${TAR_FLAGS} ${MEDIA_DEVICE}" - dialog --title "Results of tape extraction" \ - --prgbox "${TAR_CMD} ${TAR_FLAGS} ${MEDIA_DEVICE}" \ - 10 72 + ${TAR_CMD} ${TAR_FLAGS} ${MEDIA_DEVICE} > /dev/ttyv1 2>&1 fi + if [ -d ${MEDIA_DISTRIBUTION} ]; then cd ${MEDIA_DISTRIBUTION}; fi media_extract_dist media_rm_tmpdir ;; |