Skip to content

Commit

Permalink
fix debian postinst in the case of non existing legacy cache file
Browse files Browse the repository at this point in the history
  • Loading branch information
phreaker0 committed Jan 31, 2020
1 parent f87160d commit dedf35d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/debian/postinst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

# remove old cache file
[ -f /var/cache/sanoidsnapshots.txt ] && rm /var/cache/sanoidsnapshots.txt
[ -f /var/cache/sanoidsnapshots.txt ] && rm /var/cache/sanoidsnapshots.txt || true

0 comments on commit dedf35d

Please sign in to comment.