Skip to content

Commit

Permalink
Bugfix: Don't list the stor directory in the uninstaller warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert Santoni committed Apr 7, 2015
1 parent e618861 commit 70e812d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions uninstall
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ AIRTIMEROOT=${SCRIPT_DIR}
STOR_DIR=$(getStorDirFromDatabase)
FILES=(
"${STOR_DIR}"
"/etc/airtime"
"/var/log/airtime"
"/usr/lib/airtime"
Expand Down Expand Up @@ -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..."
Expand All @@ -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.