Skip to content

Commit d27bbfa

Browse files
author
Jonathan Carter
authored
Merge pull request #96 from diablodale/uninstall
add uninstall - fix #95
2 parents 897ca02 + 4425d68 commit d27bbfa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,12 @@ install:
1717
install -m 0644 src/zfs-auto-snapshot.8 $(DESTDIR)$(PREFIX)/share/man/man8/zfs-auto-snapshot.8
1818
install -d $(DESTDIR)$(PREFIX)/sbin
1919
install src/zfs-auto-snapshot.sh $(DESTDIR)$(PREFIX)/sbin/zfs-auto-snapshot
20+
21+
uninstall:
22+
rm $(DESTDIR)/etc/cron.d/zfs-auto-snapshot
23+
rm $(DESTDIR)/etc/cron.hourly/zfs-auto-snapshot
24+
rm $(DESTDIR)/etc/cron.daily/zfs-auto-snapshot
25+
rm $(DESTDIR)/etc/cron.weekly/zfs-auto-snapshot
26+
rm $(DESTDIR)/etc/cron.monthly/zfs-auto-snapshot
27+
rm $(DESTDIR)$(PREFIX)/share/man/man8/zfs-auto-snapshot.8
28+
rm $(DESTDIR)$(PREFIX)/sbin/zfs-auto-snapshot

0 commit comments

Comments
 (0)