mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
bin/release: determine release from /etc/issue if lsb-release not found;
don't use fully qualified path for lsb_release as it seems this has moved around (see Dapper)
This commit is contained in:
parent
4cb5f00137
commit
314bbfea43
2 changed files with 6 additions and 4 deletions
|
@ -21,8 +21,8 @@
|
|||
p="release"
|
||||
grep -qs "^$p=0$" "$HOME/.screen-profiles/status" && exit 0
|
||||
|
||||
if [ -x "/usr/bin/lsb_release" ]; then
|
||||
echo $(/usr/bin/lsb_release -s -i) $(/usr/bin/lsb_release -s -r)
|
||||
if which lsb_release >/dev/null; then
|
||||
echo $(lsb_release -s -i) $(lsb_release -s -r)
|
||||
elif [ -r "/etc/issue" ]; then
|
||||
head -n1 /etc/issue | awk '{print $1}'
|
||||
else
|
||||
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -6,12 +6,14 @@ screen-profiles (1.41) unreleased; urgency=low
|
|||
* profiles/generate-profiles: reorganize cleaning and echo's
|
||||
* debian/rules: generate profiles as part of the build, rather than
|
||||
get-orig-source
|
||||
* bin/release: determine release from /etc/issue if lsb-release not found
|
||||
* bin/release: determine release from /etc/issue if lsb-release not found;
|
||||
don't use fully qualified path for lsb_release as it seems this has moved
|
||||
around (see Dapper)
|
||||
|
||||
[ James Wilcox ]
|
||||
* bin/updates-available: support SUSE's zypper
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 26 Mar 2009 10:41:23 -0500
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 26 Mar 2009 14:46:18 -0500
|
||||
|
||||
screen-profiles (1.40-0ubuntu1) jaunty; urgency=low
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue