From cb730989035de8282065d3ea2f00de94a66d3b46 Mon Sep 17 00:00:00 2001 From: rudson Date: Mon, 31 Mar 2008 21:34:22 +0000 Subject: git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1693 370017ae-e619-0410-ac65-c121f96126d4 --- gnome/base/gconf/GConf.SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnome/base/gconf') diff --git a/gnome/base/gconf/GConf.SlackBuild b/gnome/base/gconf/GConf.SlackBuild index 1dacac0a..f5de8174 100644 --- a/gnome/base/gconf/GConf.SlackBuild +++ b/gnome/base/gconf/GConf.SlackBuild @@ -77,7 +77,8 @@ mkdir -p "$PKG_WORK" || exit $ERROR_MKDIR # Dowload source if necessary SRC="$SRC_NAME-$VERSION.tar.bz2" -URL="http://ftp.acc.umu.se/pub/gnome/sources/GConf/2.20/$SRC" +SUB_VERSION=`echo $PKG_VERSION | sed 's/\(^[0-9]\+\.[0-9]\+\)\..*$/\1/'` +URL="http://ftp.gnome.org/pub/gnome/sources/$PKG_NAME/$SUB_VERSION/$SRC" if [ ! -s "$SRC_DIR/$SRC" ] || ! bunzip2 -t "$SRC_DIR/$SRC" 2> /dev/null; then wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET -- cgit v1.2.3