fix debian postinst in the case of non existing legacy cache file
This commit is contained in:
parent
f87160d6db
commit
dedf35df85
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# remove old cache file
|
# 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
|
||||||
|
|
Loading…
Reference in New Issue