aboutsummaryrefslogtreecommitdiff
path: root/dev/libs/libksba
diff options
context:
space:
mode:
authorluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2007-02-05 01:21:50 +0000
committerluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2007-02-05 01:21:50 +0000
commit8c187c4a1e7aba382c11657f16e413b0622f0da4 (patch)
tree640374ca50c239378348230e9817bae1dc475d02 /dev/libs/libksba
parentd1b64a1c5cc1c933810c51f7296a739dd669b645 (diff)
downloadslackbuilds-8c187c4a1e7aba382c11657f16e413b0622f0da4.tar.gz
slackbuilds-8c187c4a1e7aba382c11657f16e413b0622f0da4.tar.bz2
Syncing with generic.SlackBuild v0.3.4
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1008 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'dev/libs/libksba')
-rwxr-xr-xdev/libs/libksba/libksba.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/libs/libksba/libksba.SlackBuild b/dev/libs/libksba/libksba.SlackBuild
index 2b783b40..f2fe20fc 100755
--- a/dev/libs/libksba/libksba.SlackBuild
+++ b/dev/libs/libksba/libksba.SlackBuild
@@ -80,10 +80,10 @@ EOKEY
SRC="$SRC_NAME-$VERSION.tar.bz2"
URL="ftp://ftp.gnupg.org/gcrypt/libksba/$SRC"
-if [ ! -f "$SRC_DIR/$SRC" ] || ! bzip2 -t "$SRC_DIR/$SRC" 2> /dev/null; then
+if [ ! -s "$SRC_DIR/$SRC" ] || ! bzip2 -t "$SRC_DIR/$SRC" 2> /dev/null; then
wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
fi
-if [ ! -f "$SRC_DIR/$SRC.sig" ]; then
+if [ ! -s "$SRC_DIR/$SRC.sig" ]; then
wget "$URL.sig" -O "$SRC_DIR/$SRC.sig" || exit $ERROR_WGET
fi