From bd0a5eed26cc00019ded3cec179c15c668e865de Mon Sep 17 00:00:00 2001 From: Adis Date: Wed, 17 Jun 2020 17:20:57 +0200 Subject: [PATCH] uninstall feature --- .gitignore | 1 - uninstall | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 uninstall diff --git a/.gitignore b/.gitignore index f33ce90..03118f4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ PrayerTimes.tar.gz recompile -uninstall Vaktija_Notification/info \ No newline at end of file diff --git a/uninstall b/uninstall new file mode 100755 index 0000000..ac61734 --- /dev/null +++ b/uninstall @@ -0,0 +1,6 @@ +#!/bin/bash + +rm -Rf /home/$USER/.config/PrayerTimes/ +systemctl disable prayer-times.service +systemctl disable prayer-times.timer +sudo rm /etc/systemd/system/prayer-times.service /usr/local/bin/prayertimes /etc/systemd/system/prayer-times.timer \ No newline at end of file