aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-12-18 13:19:04 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-12-18 13:19:04 +0000
commitf0e2e6ed6ccace548ceda5f82d31d841d11e6a67 (patch)
treecf49cb005a59546c941693da7f83c9a2f38e16c5
parent2f6491d62eb2a61f78a31733632a7023e1d2fe83 (diff)
downloadsimplepkg-f0e2e6ed6ccace548ceda5f82d31d841d11e6a67.tar.gz
simplepkg-f0e2e6ed6ccace548ceda5f82d31d841d11e6a67.tar.bz2
minor fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@682 04377dda-e619-0410-9926-eae83683ac58
-rwxr-xr-xtrunk/src/simplaret2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/src/simplaret b/trunk/src/simplaret
index c232ae8..7edd92a 100755
--- a/trunk/src/simplaret
+++ b/trunk/src/simplaret
@@ -78,7 +78,7 @@ function simplaret_import_gpg_keys {
if [ "$SIGNATURE_CHECKING" == "$on" ]; then
check_gnupg
if [ -f "$1/GPG-KEY" ] && [ -f "$1/GPG-KEY.old" ]; then
- if diff $1/GPG-KEY $1/GPG-KEY.old &> /dev/null; then
+ if ! diff $1/GPG-KEY $1/GPG-KEY.old &> /dev/null; then
gpg --import < $1/GPG-KEY
fi
elif [ -f "$1/GPG-KEY" ]; then