Projects
jsj
jsj-installtools
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 129
View file
PrepareReposFor16.0
Added
@@ -0,0 +1,15 @@ +#!/bin/bash +. /etc/os-release +rsync -aP --delete /etc/zypp/repos.d/ /etc/zypp/repos.d.sic/ > /dev/null +for n in $(/usr/share/jsjinstalltools/GetZypperSources | egrep "download.opensuse.org/update" | sed -e 's/^.*\"\(.*\)\"/\1/'); do zypper rr $n; done +pushd /etc/zypp/repos.d > /dev/null +sed -i -e "/^$VERSION$/ s/$VERSION/update/" -e "/^name/ s/_$VERSION//" -e "/^/ s/-_$VERSION//" -e "s/$VERSION/\${releasever}/" *.repo +popd > /dev/null +echo "Ein Backup der Repos liegt unter /etc/zypp/repos.d.sic, um den vorigen" +echo "Repo-Zustand wieder herzustellen, führe folgende Kommandos aus:" +echo " pushd /etc/zypp; rm -r repos.d/*; cp repos.d.sic/* repos.d/; popd" +echo +echo "Wenn alles korrekt ist, gelingt ein Distribution-Update nun mit:" +echo " zypper --releasever=16.0 dup" +echo "(oder der entsprechenden Version an Stelle von \"16.0\"" +echo
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
.