From b49242d12cecf487a0a41801f92fedc000ba1387 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Wed, 1 Apr 2009 11:23:37 -0500 Subject: [PATCH] bin/logo: allow users to define their own logo -Dustin Kirkland Wed, 01 Apr 2009 11:23:13 -0500 --- bin/logo | 7 +++++-- debian/changelog | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/bin/logo b/bin/logo index ae2b0bd5..476591c2 100755 --- a/bin/logo +++ b/bin/logo @@ -21,8 +21,11 @@ p="logo" grep -qs "^$p=0$" "$HOME/.screen-profiles/status" && exit 0 -if [ -r "$HOME/.screen-profiles/distro" ]; then - # Allow manual override +if [ -r "$HOME/.screen-profiles/logo" ]; then + # 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"` elif which lsb_release >/dev/null; then # If lsb_release is available, use it diff --git a/debian/changelog b/debian/changelog index f41a8ef1..c10d6cb5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,9 @@ screen-profiles (1.43) unreleased; urgency=low * UNRELEASED + * bin/logo: allow users to define their own logo - -- Dustin Kirkland Tue, 31 Mar 2009 17:36:38 -0500 + -- Dustin Kirkland Wed, 01 Apr 2009 11:23:13 -0500 screen-profiles (1.42-0ubuntu1) jaunty; urgency=low