diff options
author | François Andriot <albator78@libertysurf.fr> | 2024-06-25 09:23:30 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2024-06-25 09:23:30 +0200 |
commit | 6b5986e3b7615d142181aa4dba13702e275ae60e (patch) | |
tree | b5330c5d61b92f490560a0801b9a1a8b60a66a35 /redhat/build/rpmdist.sh | |
parent | b627bfe4025a3edf7e384461c445a87bd00900ac (diff) | |
download | tde-packaging-6b5986e3b7615d142181aa4dba13702e275ae60e.tar.gz tde-packaging-6b5986e3b7615d142181aa4dba13702e275ae60e.zip |
RPM: updates for OpenSuse LEAP 15.6
Signed-off-by: François Andriot <albator78@libertysurf.fr>
Diffstat (limited to 'redhat/build/rpmdist.sh')
-rwxr-xr-x | redhat/build/rpmdist.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/redhat/build/rpmdist.sh b/redhat/build/rpmdist.sh index d7be81993..9fdad6b6f 100755 --- a/redhat/build/rpmdist.sh +++ b/redhat/build/rpmdist.sh @@ -47,6 +47,9 @@ case $a in DIST=".oss$((read a; read a b c; echo ${c//./}) </etc/SUSE-brand)" elif grep -q "tumbleweed" "/etc/os-release"; then DIST=".osstw" + elif [ -r "/etc/os-release" ]; then + . "/etc/os-release" + DIST=".oss${VERSION//./}" else DIST=".oss" fi |