From: Daniel Kahn Gillmor Date: Tue, 19 Jan 2010 04:15:43 +0000 (-0500) Subject: no need for recursive removal of a single file X-Git-Tag: monkeysphere_0.28~15 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=71d180394c3357d2a99e9f1fc6a2fa7514552da9;p=monkeysphere.git no need for recursive removal of a single file --- 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