Projects
jsj
jsj-installtools
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 50
View file
jsj-installtools.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Mar 17 12:46:44 UTC 2016 - obs@botter.cc + +- update GetVersion to detect Tumbelweed + +------------------------------------------------------------------- Fri Feb 19 13:33:47 UTC 2016 - obs@botter.cc - update PrepareUpdateCrontab to enable logrotate.timer on 13.2
View file
GetVersion
Changed
@@ -1,9 +1,12 @@ if -f /etc/os-release ; then - VERSION=$(egrep VERSION_ID /etc/os-release | cut -f2 -d= | tr -d " \"") + VERSION=$(egrep VERSION= /etc/os-release | cut -f2 -d= | tr -d " \"") + if $VERSION != "Tumbleweed" ; then + VERSION=$(egrep VERSION_ID /etc/os-release | cut -f2 -d= | tr -d " \"") + fi elif -f /etc/SuSE-release ; then VERSION=$(egrep VERSION /etc/SuSE-release | cut -f2 -d= | tr -d " ") else echo No file /etc/os-release or /etc/SuSE-release available. Stop. exit 1 fi -zypper sl -u | egrep "jsj/openSUSE_$VERSION" 2>&1 > /dev/null +#zypper sl -u | egrep "jsj/openSUSE_$VERSION" 2>&1 > /dev/null
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
.