From 3d55c8d328bd330b02c899b8976a784e7bd26fcf Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sun, 23 Oct 2016 13:12:31 -0700 Subject: typo --- debian/keysafe-server.postrm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/keysafe-server.postrm b/debian/keysafe-server.postrm index 10ebfea..4addbc6 100755 --- a/debian/keysafe-server.postrm +++ b/debian/keysafe-server.postrm @@ -8,7 +8,7 @@ set -e # delete the _keysafe user and group, after chowning the shard storage # to root so that it does not end up owned by another system user if [ "$1" = "purge" ]; then - if [ -e "/var/lib/keysafe" ]; then + if [ -d "/var/lib/keysafe" ]; then chown -R root:root /var/lib/keysafe fi userdel _keysafe || true -- cgit v1.2.3