forked from extern/zfs-auto-snapshot
add uninstall - fix zfsonlinux/zfs-auto-snapshot#95
- intentionally does not remove directories - intentionally does not force deletes
This commit is contained in:
parent
3d9992b086
commit
4425d681f3
9
Makefile
9
Makefile
@ -17,3 +17,12 @@ install:
|
||||
install -m 0644 src/zfs-auto-snapshot.8 $(DESTDIR)$(PREFIX)/share/man/man8/zfs-auto-snapshot.8
|
||||
install -d $(DESTDIR)$(PREFIX)/sbin
|
||||
install src/zfs-auto-snapshot.sh $(DESTDIR)$(PREFIX)/sbin/zfs-auto-snapshot
|
||||
|
||||
uninstall:
|
||||
rm $(DESTDIR)/etc/cron.d/zfs-auto-snapshot
|
||||
rm $(DESTDIR)/etc/cron.hourly/zfs-auto-snapshot
|
||||
rm $(DESTDIR)/etc/cron.daily/zfs-auto-snapshot
|
||||
rm $(DESTDIR)/etc/cron.weekly/zfs-auto-snapshot
|
||||
rm $(DESTDIR)/etc/cron.monthly/zfs-auto-snapshot
|
||||
rm $(DESTDIR)$(PREFIX)/share/man/man8/zfs-auto-snapshot.8
|
||||
rm $(DESTDIR)$(PREFIX)/sbin/zfs-auto-snapshot
|
||||
|
Loading…
Reference in New Issue
Block a user