usr/lib/byobu/release includes more than the release when lsb_release is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
byobu |
Fix Released
|
Medium
|
Dustin Kirkland |
Bug Description
__release in usr/lib/
The patch to fix this looks as follows:
=== modified file 'usr/lib/
--- usr/lib/
+++ usr/lib/
@@ -46,20 +46,7 @@
fi
if [ -z "$RELEASE" ] && $BYOBU_TEST lsb_release >/dev/null 2>&1; then
# If lsb_release is available, use it
- local r=$(lsb_release -s -d)
- case "$r" in
- Ubuntu*)
- # Use the -d if an Ubuntu LTS
- RELEASE="$r"
- ;;
- *)
- # But for other distros the description
- # is too long, so build from -i and -r
- local i=$(lsb_release -s -i)
- r=$(lsb_release -s -r)
- RELEASE="$i $r"
- ;;
- esac
+ RELEASE=
fi
if [ -n "$RELEASE_
This affects e.g. CentOS 5.4.
Changed in byobu: | |
status: | Fix Committed → Fix Released |
Committed revision 1985.