diff options
author | Steve Price <steve@FreeBSD.org> | 1999-07-04 21:09:42 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-07-04 21:09:42 +0000 |
commit | 39f9acf01c494654cc78e7c6b5e6783bb16c91f5 (patch) | |
tree | 2664fb39ef64a671b3721ffee34a1ae35d354283 /japanese/ptex-common | |
parent | 8c88934f829d4f968a5dea9bbe6657ce902e4121 (diff) | |
download | ports-39f9acf01c494654cc78e7c6b5e6783bb16c91f5.tar.gz ports-39f9acf01c494654cc78e7c6b5e6783bb16c91f5.zip |
Notes
Diffstat (limited to 'japanese/ptex-common')
-rw-r--r-- | japanese/ptex-common/pkg-req | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/japanese/ptex-common/pkg-req b/japanese/ptex-common/pkg-req index a9a628f3c815..f353fb4258a1 100644 --- a/japanese/ptex-common/pkg-req +++ b/japanese/ptex-common/pkg-req @@ -22,7 +22,11 @@ echo if [ "x$3" != "xBATCH" ]; then echo 'If you proceed, these files will be renamed to *.old and new files' echo 'will be installed.' - read -p 'Would you like to proceed? (y/N)> ' ans + if [ -z "${PACKAGE_BUILDING}" ]; then + read -p 'Would you like to proceed? (y/N)> ' ans + else + ans=yes + fi case x$ans in xy*|xY*) for f in ${files_exist} ;do mv -f $f ${f}.old; done; exit 0 esac |