]> git.ipfire.org Git - location/debian/libloc.git/commitdiff
clean up signing key on package remove
authorHans-Christoph Steiner <hans@eds.org>
Mon, 17 Mar 2025 09:52:38 +0000 (10:52 +0100)
committerHans-Christoph Steiner <hans@eds.org>
Mon, 17 Mar 2025 12:09:05 +0000 (13:09 +0100)
debian/libloc1t64.prerm

index 5595c869f6d7c097cf4bef9878edf553dc12d0fd..26cff43b6bc91e9e219534f3151dd4674433cf4e 100644 (file)
@@ -5,6 +5,7 @@ set -e
 case "$1" in
   remove)
     rm -f /var/lib/location/database.db 2>/dev/null
+    rm -f /var/lib/location/signing-key.pem 2>/dev/null
     rmdir /var/lib/location || true
     ;;
 esac