OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-registry Date: 14-Jul-2006 16:25:06
Branch: HEAD Handle: 2006071415250500
Modified files:
openpkg-registry register.sh
Log:
rewrite URLs for all protocols, all hosts and all subdomains below the
three well known OpenPKG second level domains
Summary:
Revision Changes Path
1.39 +3 -3 openpkg-registry/register.sh
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-registry/register.sh
============================================================================
$ cvs diff -u -r1.38 -r1.39 register.sh
--- openpkg-registry/register.sh 13 Jul 2006 08:11:33 -0000 1.38
+++ openpkg-registry/register.sh 14 Jul 2006 14:25:05 -0000 1.39
@@ -509,9 +509,9 @@
# URL rewriting
while [ ".$1" != . ]; do
printf '%s\n' "$1" | \
- sed -e
"s;^\(ftp\)://\(ftp.openpkg.com\)/;\1://$UUID_REGISTRY:[EMAIL PROTECTED]/;" \
- -e
"s;^\(ftp\)://\(ftp.openpkg.org\)/;\1://$UUID_REGISTRY:[EMAIL PROTECTED]/;" \
- -e
"s;^\(ftp\)://\(ftp.openpkg.net\)/;\1://$UUID_REGISTRY:[EMAIL PROTECTED]/;"
+ sed -e
"s;^\([^:/]*\)://\([^:/]*\.openpkg\.com\)/;\1://UUID_REGISTRY:[EMAIL
PROTECTED]/;" \
+ -e
"s;^\([^:/]*\)://\([^:/]*\.openpkg\.org\)/;\1://UUID_REGISTRY:[EMAIL
PROTECTED]/;" \
+ -e
"s;^\([^:/]*\)://\([^:/]*\.openpkg\.net\)/;\1://UUID_REGISTRY:[EMAIL
PROTECTED]/;"
shift
done
return 0
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]