]> git.proxmox.com Git - mirror_zfs-debian.git/blobdiff - debian/zfs-dkms.prerm
forwarded patch to upstream.
[mirror_zfs-debian.git] / debian / zfs-dkms.prerm
index 07fe0c204aa491e356d6ac79ac4b211aa3a8413a..fea2aee8b902bdbb03a1ced77b7847722f139f65 100644 (file)
@@ -1,3 +1,8 @@
-#!/bin/sh -e
+#!/bin/sh
+set -e
 
 #DEBHELPER#
+
+if [ "$1" = "remove" ]; then
+        rm -f /etc/zfs/zpool.cache
+fi