no need for recursive removal of a single file
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 19 Jan 2010 04:15:43 +0000 (23:15 -0500)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 19 Jan 2010 04:15:43 +0000 (23:15 -0500)
src/transitions/0.28

index 675f4f90cbfaebb5ed1b377d556a97a07246f9c7..5da6ab13f2c37487b549c93825b1352065ff505e 100755 (executable)
@@ -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