Small fix to uninstall script
This commit is contained in:
parent
36c5d22e25
commit
b144a92c4d
|
@ -69,7 +69,7 @@ if [[ ! ( "$IN" = "y" || "$IN" = "Y" ) ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n ${STOR_DIR} ]; then
|
if [ -n "${STOR_DIR}" ]; then
|
||||||
echo -e "\nAre you sure you want to remove your music storage directory ${STOR_DIR} and all of its subdirectories? (Y/n): \c"
|
echo -e "\nAre you sure you want to remove your music storage directory ${STOR_DIR} and all of its subdirectories? (Y/n): \c"
|
||||||
read IN
|
read IN
|
||||||
if [[ "$IN" = "y" || "$IN" = "Y" ]]; then
|
if [[ "$IN" = "y" || "$IN" = "Y" ]]; then
|
||||||
|
@ -80,7 +80,9 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "\nUninstalling Airtime..."
|
echo -e "\nUninstalling Airtime..."
|
||||||
removeRabbitmqAirtimeSettings
|
if [ -f /etc/airtime/airtime.conf ]; then
|
||||||
|
removeRabbitmqAirtimeSettings
|
||||||
|
fi
|
||||||
|
|
||||||
rm -rf /etc/airtime
|
rm -rf /etc/airtime
|
||||||
rm -rf /var/log/airtime/
|
rm -rf /var/log/airtime/
|
||||||
|
|
Loading…
Reference in New Issue