Projects
jsj
jsj-installtools
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 82
View file
PrepareReposFor15.3
Added
@@ -0,0 +1,15 @@ +#!/bin/bash +. /etc/os-release +pushd /etc/zypp/repos.d +for n in *.repo; do + if $n = $VERSION.repo ; then + mv $n update.repo + else + mv $n ${n/-_$VERSION/} + fi +done +sed -i -e "/^$VERSION$/ s/$VERSION/update/" -e "/^name/ s/_$VERSION//" -e "/^/ s/-_$VERSION//" -e "s/$VERSION/\${releasever}/" *.repo +for n in backports sle; do + sed -e "s/update/$n/g" -e "s/oss$/$n/" < update.repo > $n.repo +done +popd
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.