Projects
jsj
jsj-installtools
PrepareReposFor15.3
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PrepareReposFor15.3 of Package jsj-installtools (Revision 82)
Currently displaying revision
82
,
Show latest
#!/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
.