Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=moblin.git;a=commitdiff;h=23e0ced8c84e13d1cf58fd330242cbf051b68ad6
commit 23e0ced8c84e13d1cf58fd330242cbf051b68ad6 Author: bouleetbil <bouleet...@frogdev.info> Date: Tue Dec 15 15:01:40 2009 +0000 *moblin.sh fix up2date/source diff --git a/source/include/moblin.sh b/source/include/moblin.sh index ac66262..f237225 100644 --- a/source/include/moblin.sh +++ b/source/include/moblin.sh @@ -56,6 +56,11 @@ fi if [ -n "$_F_moblin_sep" ] && [ "$_F_moblin_sep" = "None" ]; then _F_moblin_sep="" fi + +if [ -z "$_F_moblin_pkgver" ]; then + _F_moblin_pkgver=${pkgver//_/-} +fi + ### # == OVERWRITTEN VARIABLES # * up2date @@ -67,7 +72,8 @@ fi archs=('i686') groups=(${grou...@]} 'moblin-extra') - +_F_archive_name="$_F_moblin_name" +Fpkgversep="$_F_moblin_sep" if [ "$_F_moblin_devel" != "n" ]; then #git version _F_scm_type="git" @@ -75,7 +81,7 @@ if [ "$_F_moblin_devel" != "n" ]; then Finclude scm else up2date="Flastarchive http://git.moblin.org/cgit.cgi/$_F_moblin_dirname/ $_F_moblin_ext" - source=(http://git.moblin.org/cgit.cgi/$_F_moblin_dirname/snapshot/$_F_moblin_name$_F_moblin_sep$pkgver$_F_moblin_ext) + source=(http://git.moblin.org/cgit.cgi/$_F_moblin_dirname/snapshot/$_F_moblin_name$_F_moblin_sep$_F_moblin_pkgver$_F_moblin_ext) fi url="http://www.moblin.org/" _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git