mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -07:00
Save a fork:
* usr/lib/byobu/custom, usr/lib/byobu/release
This commit is contained in:
parent
c4865187b5
commit
8a0cd025cd
2 changed files with 15 additions and 11 deletions
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,6 +1,7 @@
|
|||
byobu (2.81) unreleased; urgency=low
|
||||
|
||||
* usr/lib/byobu/custom: save a fork
|
||||
Save a fork:
|
||||
* usr/lib/byobu/custom, usr/lib/byobu/release
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 16 Jun 2010 12:46:29 -0500
|
||||
|
||||
|
|
|
@ -35,16 +35,19 @@ elif which lsb_release >/dev/null 2>&1; then
|
|||
fi
|
||||
# If lsb_release is available, use it
|
||||
r=$(lsb_release -s -d)
|
||||
if echo "$r" | grep -qs "^Ubuntu .*\..*\..*$"; then
|
||||
case "$r" in
|
||||
Ubuntu*.*.*)
|
||||
# Use the -d if an Ubuntu LTS
|
||||
DISTRO="$r"
|
||||
else
|
||||
;;
|
||||
*)
|
||||
# But for other distros the description
|
||||
# is too long, so build from -i and -r
|
||||
i=$(lsb_release -s -i)
|
||||
r=$(lsb_release -s -r)
|
||||
DISTRO="$i $r"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
elif [ -r "/etc/palm-build-info" ]; then
|
||||
# Palm Pre hack
|
||||
DISTRO=$(grep "^PRODUCT_VERSION_STRING=Palm " /etc/palm-build-info | sed "s/^.*=Palm //")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue