summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-01-18 23:15:43 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-01-18 23:15:43 -0500
commit71d180394c3357d2a99e9f1fc6a2fa7514552da9 (patch)
tree3ab3f27ffa9bac42381ccef1f91b8c511de1aba0
parent8b806ee99239d48fd3c2920c19f5cac7d54d2e8d (diff)
no need for recursive removal of a single file
-rwxr-xr-xsrc/transitions/0.282
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transitions/0.28 b/src/transitions/0.28
index 675f4f9..5da6ab1 100755
--- a/src/transitions/0.28
+++ b/src/transitions/0.28
@@ -21,5 +21,5 @@ SYSDATADIR=${MONKEYSPHERE_SYSDATADIR:-"/var/lib/monkeysphere"}
OLD_HOST_KEY_FILE="$SYSDATADIR"/ssh_host_rsa_key.pub.gpg
if [ -f "$OLD_HOST_KEY_FILE" ] ; then
monkeysphere-host update-pgp-pub-file
- rm -rf "$OLD_HOST_KEY_FILE"
+ rm -f "$OLD_HOST_KEY_FILE"
fi