Merge pull request #483 from phreaker0/debian-postinst

post install script for debian package to remove old unused snapshot …
This commit is contained in:
Jim Salter 2020-01-22 16:12:15 -05:00 committed by GitHub
commit 9213359dbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

4
packages/debian/postinst Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
# remove old cache file
[ -f /var/cache/sanoidsnapshots.txt ] && rm /var/cache/sanoidsnapshots.txt