1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Don't require interaction on DEINSTALL while PACKAGE_BUILDING.

This commit is contained in:
Steve Price 1999-07-04 21:41:46 +00:00
parent db000ac3c9
commit 681b68d020
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20051

View File

@ -10,12 +10,13 @@ this file now.
END
echo -n "do you want to deinstall the package ? [y] "
read answ; if [ "$answ" = "" ]; then answ=y; fi
case $answ in
y*|Y*) break;;
*) exit 1;;
esac
if [ -z ${PACKAGE_BUILDING} ]; then
echo -n "do you want to deinstall the package ? [y] "
read answ; if [ "$answ" = "" ]; then answ=y; fi
case $answ in
y*|Y*) break;;
*) exit 1;;
esac
fi
exit 0