aboutsummaryrefslogtreecommitdiff
path: root/trunk/mkbuild/kde4.mkSlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/mkbuild/kde4.mkSlackBuild')
-rw-r--r--trunk/mkbuild/kde4.mkSlackBuild20
1 files changed, 14 insertions, 6 deletions
diff --git a/trunk/mkbuild/kde4.mkSlackBuild b/trunk/mkbuild/kde4.mkSlackBuild
index 2003545..0052319 100644
--- a/trunk/mkbuild/kde4.mkSlackBuild
+++ b/trunk/mkbuild/kde4.mkSlackBuild
@@ -195,12 +195,14 @@ if echo [[SIGNING URL]] | grep -q -v "SIGNING URL"; then
SIGNATURE="`basename [[SIGNING URL]]`"
if [ ! -s "$SRC_DIR/$SIGNATURE" ]; then
wget "[[SIGNING URL]]" -O "$SRC_DIR/$SIGNATURE" || exit $ERROR_WGET
- fi
+ fi
else
if [ -s "$SRC_DIR/$SRC.sig" ]; then
SIGNATURE="$SRC.sig"
elif [ -s "$SRC_DIR/$SRC.asc" ]; then
SIGNATURE="$SRC.asc"
+ elif [ -s "$SRC_DIR/$SRC.sign" ]; then
+ SIGNATURE="$SRC.sign"
else
echo Trying to get signature file from $URL.sig...
if wget "$URL.sig" -O "$SRC_DIR/$SRC.sig"; then
@@ -212,11 +214,17 @@ else
SIGNATURE="$SRC.asc"
else
rm $SRC_DIR/$SRC.asc
- echo "Error getting source's signature file"
- exit $ERROR_GPG
- fi
- fi
- fi
+ echo Trying to get signature file from $URL.sign...
+ if wget "$URL.sign" -O "$SRC_DIR/$SRC.sign"; then
+ SIGNATURE="$SRC.sign"
+ else
+ rm $SRC_DIR/$SRC.sign
+ echo "Error getting source's signature file"
+ exit $ERROR_GPG
+ fi
+ fi
+ fi
+ fi
fi
echo Checking $SRC_DIR/$SRC with gpg using $SRC_DIR/$SIGNATURE...