From 3d53f913e577b877255ab3b188fb81b5fb5800d0 Mon Sep 17 00:00:00 2001 From: rhatto Date: Mon, 1 Dec 2008 17:15:20 +0000 Subject: rsnapshot fixing key url git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1984 370017ae-e619-0410-ac65-c121f96126d4 --- app/backup/rsnapshot/rsnapshot.SlackBuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'app') 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 -- cgit v1.2.3