From 13972d5a6c54b30bdc770920286301eb6ef919f0 Mon Sep 17 00:00:00 2001 From: Shriraj Date: Mon, 12 Oct 2020 00:00:29 +0530 Subject: [PATCH 1/3] Uninstall added in makefile Removes 3 installed files with sudo make uninstall --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 499d340..e718b4d 100644 --- a/Makefile +++ b/Makefile @@ -6,3 +6,8 @@ install: @install -Dm644 -t "$(DESTDIR)/etc/apt/apt.conf.d/" 80-timeshift-autosnap-apt @install -Dm755 -t "$(DESTDIR)/usr/bin/" timeshift-autosnap-apt @install -Dm644 -t "$(LIB_DIR)/etc/" timeshift-autosnap-apt.conf + +uninstall: + rm -f $(DESTDIR)/etc/apt/apt.conf.d/80-timeshift-autosnap-apt + rm -f $(DESTDIR)/usr/bin/timeshift-autosnap-apt + rm -f $(LIB_DIR)/etc/timeshift-autosnap-apt.conf From 3ed8b7d8b3801df415b57a4b850a243a45f030c1 Mon Sep 17 00:00:00 2001 From: Shriraj Hegde <66936172+ShrirajHegde@users.noreply.github.com> Date: Mon, 12 Oct 2020 00:12:46 +0530 Subject: [PATCH 2/3] Add uninstall Added uninstall instructions to readme --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index c4aea40..0c78dee 100644 --- a/README.md +++ b/README.md @@ -157,6 +157,15 @@ or for RSYNC: # Removed '2020-04-29_10-24-35' # ------------------------------------------------------------------------------ ``` +--- + +### Uninstallation +``` +cd /home/$USER/grub-btrfs +sudo make uninstall +``` + +--- ## Ideas and contributions - [x] Ask to be included into official Timeshift package, [status pending](https://github.com/teejee2008/timeshift/issues/595). From 82125c37c75c38508e75ac49d675682288d4de16 Mon Sep 17 00:00:00 2001 From: Willi Mutschler Date: Tue, 20 Oct 2020 11:25:42 +0200 Subject: [PATCH 3/3] Update README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 0c78dee..01a9f02 100644 --- a/README.md +++ b/README.md @@ -161,7 +161,7 @@ or for RSYNC: ### Uninstallation ``` -cd /home/$USER/grub-btrfs +cd /home/$USER/timeshift-autosnap-apt sudo make uninstall ``` @@ -174,4 +174,3 @@ sudo make uninstall - [ ] Make rsync of /boot and /boot/efi dependent on btrfs only, provide "auto" model, i.e. check whether efi or legacy boot and then rsync into filesystem **All new ideas and contributors are much appreciated and welcome, just open an issue for that!** -