Projects
jsj
jsj-installtools
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 83
View file
jsj-installtools.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Sun Nov 28 09:03:28 UTC 2021 - Stefan Botter <obs@botter.cc> + +- modify PreparereposFor15.3 with repo-backup and hints + +------------------------------------------------------------------- Sat Nov 27 13:40:22 UTC 2021 - Stefan Botter <obs@botter.cc> - add PrepareReposFor15.3 to ease updates to repo files and addresses
View file
PrepareReposFor15.3
Changed
@@ -1,11 +1,12 @@ #!/bin/bash . /etc/os-release +rsync -vaPH --delete /etc/zypp/repos.d/ /etc/zypp/repos.d.sic/ pushd /etc/zypp/repos.d for n in *.repo; do if $n = $VERSION.repo ; then mv $n update.repo else - mv $n ${n/-_$VERSION/} + mv $n ${n/-_$VERSION/} 2>&1 > /dev/null fi done sed -i -e "/^$VERSION$/ s/$VERSION/update/" -e "/^name/ s/_$VERSION//" -e "/^/ s/-_$VERSION//" -e "s/$VERSION/\${releasever}/" *.repo @@ -13,3 +14,11 @@ sed -e "s/update/$n/g" -e "s/oss$/$n/" < update.repo > $n.repo done popd +echo "Ein Backup der Repos liegt unter /etc/zyy/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=15.3 dup" +echo "(oder der entsprechenden Version an Stelle von \"15.3\"" +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
.