aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2008-12-01 17:15:20 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2008-12-01 17:15:20 +0000
commit3d53f913e577b877255ab3b188fb81b5fb5800d0 (patch)
tree6ed6d67cfd6f406ba60ff482066f73a5503b29b4
parentd3fdb6cfe8946f843e04e16a6b50c2cdacee08f8 (diff)
downloadslackbuilds-3d53f913e577b877255ab3b188fb81b5fb5800d0.tar.gz
slackbuilds-3d53f913e577b877255ab3b188fb81b5fb5800d0.tar.bz2
rsnapshot fixing key url
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1984 370017ae-e619-0410-ac65-c121f96126d4
-rw-r--r--app/backup/rsnapshot/rsnapshot.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/backup/rsnapshot/rsnapshot.SlackBuild b/app/backup/rsnapshot/rsnapshot.SlackBuild
index b5f81fc7..5f780e44 100644
--- a/app/backup/rsnapshot/rsnapshot.SlackBuild
+++ b/app/backup/rsnapshot/rsnapshot.SlackBuild
@@ -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