openmamba-lsb/openmamba-lsb-3.2-lsb_release_GetLSBInfo.patch
Silvan Calarco 868168928f require /usr/lib/cups/filter/foomatic-rip instead of /usr/bin/foomatic-rip
lsb-desktop: provide lsb-graphics-%{lsb_archname} [release 4.1-3mamba;Sun Dec 08 2013]
2024-01-06 08:13:56 +01:00

29 lines
801 B
Diff

--- lsb-release-2.0/lsb_release.orig 2009-12-16 22:40:33.000000000 +0100
+++ lsb-release-2.0/lsb_release 2009-12-16 22:41:04.000000000 +0100
@@ -188,24 +188,13 @@
# Get/Init LSB infos (maybe Distrib infos too)
GetLSBInfo() {
- if [ -f "$INFO_ROOT/$INFO_LSB_FILE" ]
- then
- # should init at least LSB_VERSION
- . "$INFO_ROOT/$INFO_LSB_FILE"
- fi
- if [ -z "$LSB_VERSION" ]
- then
- LSB_VERSION=$MSG_NA
- else
- # if we found LSB_VERSION, continue to look in directory
if [ -d "$INFO_ROOT/$INFO_LSB_DIR" ]
then
for tag in "$INFO_ROOT/$INFO_LSB_DIR/"*
do
- LSB_VERSION=$LSB_VERSION:`basename $tag`
+ LSB_VERSION=${LSB_VERSION:+$LSB_VERSION:}`basename $tag`
done
fi
- fi
}
# Get the whole distrib information string (from ARG $1 file)