mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
release: use /etc/debian_version as fallback for Debian
This commit is contained in:
parent
6f8fc5b35a
commit
05e464dabe
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ elif which lsb_release >/dev/null 2>&1; then
|
||||||
DISTRO="$i $r"
|
DISTRO="$i $r"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
elif [ -r "/etc/debian_version" ]; then
|
||||||
|
DISTRO="Debian $(cat /etc/debian_version)" # this
|
||||||
elif [ -r "/etc/palm-build-info" ]; then
|
elif [ -r "/etc/palm-build-info" ]; then
|
||||||
# Palm Pre hack
|
# Palm Pre hack
|
||||||
DISTRO=$(grep "^PRODUCT_VERSION_STRING=Palm " /etc/palm-build-info | sed "s/^.*=Palm //")
|
DISTRO=$(grep "^PRODUCT_VERSION_STRING=Palm " /etc/palm-build-info | sed "s/^.*=Palm //")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue