Changeset 1093 for dass-tools/usr/bin/mirror-obs.sh
- Timestamp:
- Sep 7, 2012, 12:03:56 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dass-tools/usr/bin/mirror-obs.sh
r1092 r1093 1 1 #!/bin/bash 2 2 3 SOURCE_OPENSUSE=" 10.7.102.0::pub/opensuse/"3 SOURCE_OPENSUSE="ftp5.gwdg.de::pub/opensuse/" 4 4 5 REPOS="distribution/11.2/repo update/11.2 distribution/12.1/repo update/12.1 6 repositories/Application:/Geo/openSUSE_11.2 7 repositories/Application:/Geo/openSUSE_12.1 8 repositories/LibreOffice:/Stable/openSUSE_12.1 9 repositories/Virtualization:/VMware/SLE_11_SP1 10 repositories/driver:/wireless/12.1-update/ 11 repositories/home:/dassit 12 repositories/home:/dassit:/systemsmanagement:/puppet 13 repositories/home:/steffens:/SmartClient:/client 14 repositories/home:/steffens:/SmartClient:/server 15 repositories/home:/steffens:/lvermgeo:/client 16 repositories/home:/steffens:/lvermgeo:/server 5 REPOS="repositories/home:/dassit 17 6 " 18 # Folgender Eintrag aus der Variable REPOS entfernt, da auf dem BuildServer geloescht, 28.03.2012 Pruem19 #repositories/home:/steffens:/branches:/openSUSE:/11.2:/Update20 7 21 8 # 22 9 # disabled repos: 23 10 # 24 # nicht mehr verfügbar 25 # repositories/LibreOffice:/Stable/openSUSE_11.2 26 # enthält derzeit keine Pakete 27 # repositories/home:/steffens:/branches:/openSUSE:/11.2 11 #distribution/11.2/repo update/11.2 distribution/12.1/repo update/12.1 28 12 29 13 RSYNC_DELETE="--delete" … … 35 19 RSYNC_OPTS="-v -rlLptx --safe-links --stats" 36 20 37 DEST="/ anlagen/vmlxlamp/repo/download.opensuse.org"21 DEST="/space/installtree/install/download.opensuse.org" 38 22 39 23 rsync_if_exists() … … 77 61 done 78 62 79 /usr/local/sbin/mirror-report-errors.sh mirror-osb "$SUCCESSFUL" "$FAILED_REPOS" 63 # /usr/local/sbin/mirror-report-errors.sh mirror-osb "$SUCCESSFUL" "$FAILED_REPOS" 64 # 65 # # adapt repository sources 66 # for i in `find $DEST/repositories -name "*.repo" -a ! -name "vermkv-*.repo"`; do 67 # basename=`basename $i` 68 # dirname=`dirname $i` 69 # sed "s|http://|http://install.vermkv/freigabe/|" $i > $dirname/vermkv-$basename 70 # done 80 71 81 # adapt repository sources82 for i in `find $DEST/repositories -name "*.repo" -a ! -name "vermkv-*.repo"`; do83 basename=`basename $i`84 dirname=`dirname $i`85 sed "s|http://|http://install.vermkv/freigabe/|" $i > $dirname/vermkv-$basename86 done87
Note:
See TracChangeset
for help on using the changeset viewer.