removing confirmation from the uninstall, addressing CR feedback

This commit is contained in:
Jeff Wilcox 2012-04-12 15:18:10 -07:00
Родитель 9e001ed12f
Коммит ab6dd213e1
1 изменённых файлов: 13 добавлений и 20 удалений

Просмотреть файл

@ -10,9 +10,6 @@ if [ ! -r "/usr/local/azure" ]; then
fi
echo "This will uninstall the Azure SDK by removing /usr/local/azure/ as well as the /usr/local/bin/azure scripts."
printf "Type 'yes' if you'd like to continue: "
read response
if [ "$response" == "yes" ]; then
echo Removing binaries and command line tools...
sudo rm -rf /usr/local/azure/
@ -31,9 +28,5 @@ if [ "$response" == "yes" ]; then
echo - packages forgotten
echo
else
echo "Aborted"
exit 1
fi
exit 0