Blame lsb-release-2.0-disable-etc-lsb-release.patch
|
Leon Ho |
3ba56c0 |
--- lsb-release-2.0.orig/lsb_release 2004-07-01 03:30:34.000000000 +1000
|
|
Leon Ho |
3ba56c0 |
+++ lsb-release-2.0/lsb_release 2005-08-03 23:31:58.000000000 +1000
|
|
Leon Ho |
3ba56c0 |
@@ -188,15 +188,6 @@
|
|
Leon Ho |
3ba56c0 |
|
|
Leon Ho |
3ba56c0 |
# Get/Init LSB infos (maybe Distrib infos too)
|
|
Leon Ho |
3ba56c0 |
GetLSBInfo() {
|
|
Leon Ho |
3ba56c0 |
- if [ -f "$INFO_ROOT/$INFO_LSB_FILE" ]
|
|
Leon Ho |
3ba56c0 |
- then
|
|
Leon Ho |
3ba56c0 |
- # should init at least LSB_VERSION
|
|
Leon Ho |
3ba56c0 |
- . "$INFO_ROOT/$INFO_LSB_FILE"
|
|
Leon Ho |
3ba56c0 |
- fi
|
|
Leon Ho |
3ba56c0 |
- if [ -z "$LSB_VERSION" ]
|
|
Leon Ho |
3ba56c0 |
- then
|
|
Leon Ho |
3ba56c0 |
- LSB_VERSION=$MSG_NA
|
|
Leon Ho |
3ba56c0 |
- else
|
|
Leon Ho |
3ba56c0 |
# if we found LSB_VERSION, continue to look in directory
|
|
Leon Ho |
3ba56c0 |
if [ -d "$INFO_ROOT/$INFO_LSB_DIR" ]
|
|
Leon Ho |
3ba56c0 |
then
|
|
Leon Ho |
3ba56c0 |
@@ -205,7 +196,6 @@
|
|
Leon Ho |
3ba56c0 |
LSB_VERSION=$LSB_VERSION:`basename $tag`
|
|
Leon Ho |
3ba56c0 |
done
|
|
Leon Ho |
3ba56c0 |
fi
|
|
Leon Ho |
3ba56c0 |
- fi
|
|
Leon Ho |
3ba56c0 |
}
|
|
Leon Ho |
3ba56c0 |
|
|
Leon Ho |
3ba56c0 |
# Get the whole distrib information string (from ARG $1 file)
|