From 70e812d888013f7a896c52809b45a8478028d0c5 Mon Sep 17 00:00:00 2001 From: Albert Santoni Date: Tue, 7 Apr 2015 18:56:22 -0400 Subject: [PATCH] Bugfix: Don't list the stor directory in the uninstaller warning message --- uninstall | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/uninstall b/uninstall index c7f8f44c5c..1f3c20fc35 100755 --- a/uninstall +++ b/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" \ No newline at end of file +echo "...Done"