Skip to content

Commit

Permalink
invisprep nutzt jetzt die Datei /etc/os-release zur Ermittlung der op…
Browse files Browse the repository at this point in the history
…enSUSE Versionsnummer.
  • Loading branch information
flacco committed May 26, 2018
1 parent ddfca2f commit 645c3ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xsrc/construction-area/invisprep
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ while [[ ! $iversion =~ [s,u] ]]; do
iversion=`echo $iversion | tr [:upper:] [:lower:]`
done
# SUSE Release ermitteln - fuer unstable Installation
suseversion=`cat /etc/SuSE-release | grep VERSION |tr -d " " |cut -d "=" -f2`
suseversion=`cat /etc/os-release | grep "^VERSION=" |tr -d " " |tr -d '"'|cut -d "=" -f2`

if [[ $iversion == s ]]; then
zypper ar -f http://download.opensuse.org/repositories/spins:/invis:/stable/openSUSE_Leap_42.3/spins:invis:stable.repo
Expand Down

0 comments on commit 645c3ee

Please sign in to comment.