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 diff --git a/README.md b/README.md index c4aea40..01a9f02 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/timeshift-autosnap-apt +sudo make uninstall +``` + +--- ## Ideas and contributions - [x] Ask to be included into official Timeshift package, [status pending](https://github.com/teejee2008/timeshift/issues/595). @@ -165,4 +174,3 @@ or for RSYNC: - [ ] 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!** -