Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=rox.git;a=commitdiff;h=23f278e61e968d6c8b1128f4ad1f9c488f5998ed
commit 23f278e61e968d6c8b1128f4ad1f9c488f5998ed Author: James Buren <[EMAIL PROTECTED]> Date: Tue Jun 17 12:56:49 2008 -0500 rox.sh * if sourceforge is detected as source location, * utilize sourceforge.sh automatically diff --git a/source/include/rox.sh b/source/include/rox.sh index c949c45..5580997 100644 --- a/source/include/rox.sh +++ b/source/include/rox.sh @@ -58,9 +58,16 @@ _F_rox_installpath="$_F_rox_installpath$_F_rox_subdir" ### _F_rox_index_page="http://roscidus.com/desktop/software" A=`lynx -dump '$_F_rox_index_page' | grep "$_F_rox_appname --" | sed -n '1p' | sed 's|.*\[\(.*\)].*|\1|'` -url=`lynx -dump '$_F_rox_index_page' | grep ' $A. ' | sed 's|^.* ||'` +url2=`lynx -dump '$_F_rox_index_page' | grep ' $A. ' | sed 's|^.* ||'` +if [ "`lynx -dump '$url2' | grep 'sourceforge'`" != "" ]; then + _F_sourceforge_dirname=rox + Finclude sourceforge +fi +url=$url2 # disable nodocs since we already handle that options=([EMAIL PROTECTED] 'nodocs') +unset A +unset url2 ### # == PROVIDED FUNCTIONS _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
