Permalink
Browse files

Bugfix: Don't list the stor directory in the uninstaller warning message

  • Loading branch information...
Albert Santoni
Albert Santoni committed Apr 7, 2015
1 parent e618861 commit 70e812d888013f7a896c52809b45a8478028d0c5
Showing with 2 additions and 3 deletions.
  1. +2 −3 uninstall
@@ -49,7 +49,6 @@ AIRTIMEROOT=${SCRIPT_DIR}
STOR_DIR=$(getStorDirFromDatabase)
FILES=(
"${STOR_DIR}"
"/etc/airtime"
"/var/log/airtime"
"/usr/lib/airtime"
@@ -81,7 +80,7 @@ if [ -n "${STOR_DIR}" ]; then
echo -e "\nDo you want to remove your music storage directory ${STOR_DIR} and all of its subdirectories? [y/N]: \c"
read IN
if [[ ( "$IN" = "y" || "$IN" = "Y" ) ]]; then
rm -rf ${STOR_DIR}
rm -rf "${STOR_DIR}"
fi
else
echo -e "\nNo stor directory found, skipping..."
@@ -103,4 +102,4 @@ fi
pip uninstall -y airtime-playout airtime-media-monitor
service apache2 restart
echo "...Done"
echo "...Done"

0 comments on commit 70e812d

Please sign in to comment.