From b7cf74b1a803c10823c0ca6e2773c2d6680027c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20V=C3=A1squez?= Date: Fri, 19 Apr 2019 23:35:28 -0500 Subject: [PATCH] Add uninstall option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It looks like the functions were there, but not being called anywhere. Signed-off-by: Daniel Vásquez --- install.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index baadc10..749a047 100755 --- a/install.sh +++ b/install.sh @@ -44,11 +44,12 @@ installlog "3. Install the Raspberry Pi Network Without Internet Installation (F installlog "4. Install the Bluetooth Only Installation" installlog "5. Install the Snapcast Installation (BETA), choose from Snapcast Server, Client, or Both (Requires Minor Configuration)" installlog "6. Install a Custom Raspberry Pi Audio Receiver" +installlog "7. Uninstall" Install="0" while true do - read -p "Which installation would you like to choose? (1/2/3/4/5/6) : " Install + read -p "Which installation would you like to choose? (1/2/3/4/5/6/7) : " Install case "$Install" in 1) # Car Installation - Previously Raspberry Pi Audio Receiver Install Car Install @@ -135,6 +136,11 @@ do YesNo "Do you want to setup device as a UPnP Renderer? (y/n) : " && GMedia="y" break ;; + 7) + echo "Uninstalling..." + full_uninstall + break + ;; *) echo "Please choose a valid choice" esac