Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=43c2c520f222e3fa9df9263187bedf09fa2c657f
commit 43c2c520f222e3fa9df9263187bedf09fa2c657f Author: crazy <[EMAIL PROTECTED]> Date: Sun Jun 15 16:13:21 2008 +0200 sourceforge.sh * I said I was to tired but still pushed that stuff =) * fix breakage introduced by 487fbc4 , -z check is buggy since always true * compare to $pkgver to see if we use a custom _F_sourceforge_pkgver or not diff --git a/source/include/sourceforge.sh b/source/include/sourceforge.sh index ea8119f..8de616f 100644 --- a/source/include/sourceforge.sh +++ b/source/include/sourceforge.sh @@ -97,7 +97,7 @@ else fi ## we have now regular $pkgver so use s/_/-/ but in case we have a custom _F_sourceforge_pkgver ## which is for 'source only' we don't need that since $pkgver is right already -if [ -z $_F_sourceforge_pkgver ]; then +if [ "$_F_sourceforge_pkgver" == "$pkgver" ]; then source=(http://${_F_sourceforge_mirror}.dl.sourceforge.net/sourceforge/${_F_sourceforge_dirname}/${_F_sourceforge_name}${_F_sourceforge_sep}${_F_sourceforge_pkgver//_/-}${_F_sourceforge_ext}) else source=(http://${_F_sourceforge_mirror}.dl.sourceforge.net/sourceforge/${_F_sourceforge_dirname}/${_F_sourceforge_name}${_F_sourceforge_sep}${_F_sourceforge_pkgver}${_F_sourceforge_ext}) _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
