Projects
jsj
jsj-installtools
GetVersion
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File GetVersion of Package jsj-installtools
if [ -f /etc/os-release ]; then 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 " \"") VERSION_ID=$VERSION else VERSION_ID=99.9 fi elif [ -f /etc/SuSE-release ]; then VERSION=$(egrep VERSION /etc/SuSE-release | cut -f2 -d= | tr -d " ") VERSION_ID=$VERSION 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
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
.