bin/logo: allow users to define their own logo

-Dustin Kirkland <kirkland@ubuntu.com>Wed, 01 Apr 2009 11:23:13 -0500
This commit is contained in:
Dustin Kirkland 2009-04-01 11:23:37 -05:00
commit b49242d12c
2 changed files with 7 additions and 3 deletions

View file

@ -21,8 +21,11 @@
p="logo" p="logo"
grep -qs "^$p=0$" "$HOME/.screen-profiles/status" && exit 0 grep -qs "^$p=0$" "$HOME/.screen-profiles/status" && exit 0
if [ -r "$HOME/.screen-profiles/distro" ]; then if [ -r "$HOME/.screen-profiles/logo" ]; then
# Allow manual override # Allow users to define their own logo
cat "$HOME/.screen-profiles/logo"
elif [ -r "$HOME/.screen-profiles/distro" ]; then
# Allow manual override of distro
distro=`cat "$HOME/.screen-profiles/distro"` distro=`cat "$HOME/.screen-profiles/distro"`
elif which lsb_release >/dev/null; then elif which lsb_release >/dev/null; then
# If lsb_release is available, use it # If lsb_release is available, use it

3
debian/changelog vendored
View file

@ -1,8 +1,9 @@
screen-profiles (1.43) unreleased; urgency=low screen-profiles (1.43) unreleased; urgency=low
* UNRELEASED * UNRELEASED
* bin/logo: allow users to define their own logo
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 31 Mar 2009 17:36:38 -0500 -- Dustin Kirkland <kirkland@ubuntu.com> Wed, 01 Apr 2009 11:23:13 -0500
screen-profiles (1.42-0ubuntu1) jaunty; urgency=low screen-profiles (1.42-0ubuntu1) jaunty; urgency=low