]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
rsnapshot fixing key url
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Mon, 1 Dec 2008 17:15:20 +0000 (17:15 +0000)
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Mon, 1 Dec 2008 17:15:20 +0000 (17:15 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1984 370017ae-e619-0410-ac65-c121f96126d4

app/backup/rsnapshot/rsnapshot.SlackBuild

index b5f81fc72845be35731742aec88c0d924359b32d..5f780e4485a5da77c7272b4e80a4ef86b9fc2ac7 100644 (file)
@@ -85,8 +85,8 @@ if [ ! -s "$SRC_DIR/$SRC" ] || ! gunzip -t "$SRC_DIR/$SRC" 2> /dev/null; then
 fi
 
 # Import minimized signing key from
-if echo [[SIGNING KEY URL]] | grep -q -v "SIGNING KEY URL"; then
-  lynx -dump [[SIGNING KEY URL]] | gpg --import || exit $ERROR_GPG
+if echo http://www.rsnapshot.org/KEYS | grep -q -v "SIGNING KEY URL"; then
+  lynx -dump http://www.rsnapshot.org/KEYS | gpg --import || exit $ERROR_GPG
 elif echo [[SIGNING KEY ID]] | grep -q -v "SIGNING KEY ID"; then
   gpg --recv-keys [[SIGNING KEY ID]] || exit $ERROR_GPG
 else
@@ -96,10 +96,10 @@ EOKEY
 fi
 
 # Download source's signature if necessary and check it
-if echo http://www.rsnapshot.org/KEYS | grep -q -v "SIGNING URL"; then
-  SIGNATURE="`basename http://www.rsnapshot.org/KEYS`"
+if echo [[SIGNING URL]] | grep -q -v "SIGNING URL"; then
+  SIGNATURE="`basename [[SIGNING URL]]`"
   if [ ! -s "$SRC_DIR/$SIGNATURE" ]; then
-    wget "http://www.rsnapshot.org/KEYS" -O "$SRC_DIR/$SIGNATURE" || exit $ERROR_WGET
+    wget "[[SIGNING URL]]" -O "$SRC_DIR/$SIGNATURE" || exit $ERROR_WGET
   fi
 else
   if [ -s "$SRC_DIR/$SRC.sig" ]; then