From 69f211a42aa9607c3019208b69fe4f5a4b3bccce Mon Sep 17 00:00:00 2001 From: Matthew Grove Date: Tue, 9 Apr 2019 19:07:23 +0100 Subject: [PATCH] Update config file to delete current directory Deletes the directory cloned from GitHub --- config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config b/config index 46928ad..3a87a97 100755 --- a/config +++ b/config @@ -70,6 +70,8 @@ echo -e "\033[1;32m[OK]\033[0m Files reorganised successfully" # refresh PATH source ~/.profile echo -e "\033[1;32m[OK]\033[0m PATH refreshed successfully" +# delete current directory (the one cloned from GitHub) +rmdir "$(pwd -P)" # display final success message echo -e "\033[1;32m[OK]\033[0m Bluetooth Proximity Locking configured successfully"