[Lunar-commits] r17723 - lunar/trunk/var/lib/lunar/functions
Auke Kok
sofar at lunar-linux.org
Mon Dec 19 18:13:27 UTC 2005
Author: sofar
Date: 2005-12-19 18:13:26 +0000 (Mon, 19 Dec 2005)
New Revision: 17723
Modified:
lunar/trunk/var/lib/lunar/functions/download.lunar
Log:
Fix for file:/// urls - I need those to work so I can offline work on the lunar iso while at work with a snapshot moonbase =^)
Modified: lunar/trunk/var/lib/lunar/functions/download.lunar
===================================================================
--- lunar/trunk/var/lib/lunar/functions/download.lunar 2005-12-19 17:51:38 UTC (rev 17722)
+++ lunar/trunk/var/lib/lunar/functions/download.lunar 2005-12-19 18:13:26 UTC (rev 17723)
@@ -92,7 +92,7 @@
if [ -n "$1" ]; then
if ! echo " $ALL_URLS " | grep -q " $1 "; then
# make sure the URL has ONE "/" at the end
- ALL_URLS="$ALL_URLS $(echo "$1/" | sed "s:\([^:]/\)/*:\1:g")"
+ ALL_URLS="$ALL_URLS $(echo "$1/" | sed "s:[/][/]$:/:g")"
fi
fi
}
More information about the Lunar-commits
mailing list