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:
parent
db000ac3c9
commit
681b68d020
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20051
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user