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
-Dustin Kirkland <kirkland@ubuntu.com>Thu, 26 Mar 2009 10:41:23 -0500
This commit is contained in:
parent
fccab06767
commit
cf47b0aabd
8 changed files with 38 additions and 6 deletions
|
@ -1,7 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# ec2-cost: approximate EC2 cost (USD) of the current instance
|
||||
#
|
||||
# Copyright (C) 2008 Canonical Ltd.
|
||||
#
|
||||
# Authors: Dustin Kirkland <kirkland@canonical.com>
|
||||
|
|
|
@ -21,4 +21,10 @@
|
|||
p="release"
|
||||
grep -qs "^$p=0$" "$HOME/.screen-profiles/status" && exit 0
|
||||
|
||||
echo $(/usr/bin/lsb_release -s -i) $(/usr/bin/lsb_release -s -r)
|
||||
if [ -x "/usr/bin/lsb_release" ]; then
|
||||
echo $(/usr/bin/lsb_release -s -i) $(/usr/bin/lsb_release -s -r)
|
||||
elif [ -r "/etc/issue" ]; then
|
||||
head -n1 /etc/issue | awk '{print $1}'
|
||||
else
|
||||
echo "Unknown"
|
||||
fi
|
||||
|
|
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -6,11 +6,12 @@ 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
|
||||
|
||||
[ James Wilcox ]
|
||||
* bin/updates-available: support SUSE's zypper
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 25 Mar 2009 14:14:49 -0500
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 26 Mar 2009 10:41:23 -0500
|
||||
|
||||
screen-profiles (1.40-0ubuntu1) jaunty; urgency=low
|
||||
|
||||
|
|
|
@ -3,7 +3,9 @@
|
|||
# This configuration profile is intended to be a common header of useful
|
||||
# functionality, included by other profiles.
|
||||
#
|
||||
# Copyright (C) 2008 Dustin Kirkland <kirkland@canonical.com>
|
||||
# Copyright (C) 2008 Canonical Ltd.
|
||||
#
|
||||
# Authors: Dustin Kirkland <kirkland@canonical.com>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -1,4 +1,22 @@
|
|||
#!/bin/sh
|
||||
# generate-profiles: dynamically generate all profiles
|
||||
# Copyright (C) 2008 Canonical Ltd.
|
||||
#
|
||||
# Authors: Dustin Kirkland <kirkland@canonical.com>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation, either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
# This script should be run during in the './debian/rules get-orig-source'
|
||||
# step.
|
||||
|
||||
|
|
1
profiles/logos/slackware
Normal file
1
profiles/logos/slackware
Normal file
|
@ -0,0 +1 @@
|
|||
%{=u Bk},S
|
|
@ -3,7 +3,10 @@
|
|||
# This configuration profile is the most basic, plain profile,
|
||||
# (the default one that ships with screen).
|
||||
#
|
||||
# Copyright (C) 2008 Dustin Kirkland <kirkland@canonical.com>
|
||||
# Copyright (C) 2008 Canonical Ltd.
|
||||
#
|
||||
# Authors: Dustin Kirkland <kirkland@canonical.com>
|
||||
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
|
|
@ -3,7 +3,9 @@
|
|||
# This configuration profile is intended to roughly approximate graphical
|
||||
# desktop within 'screen'; inspired by the Ubuntu Gnome Desktop.
|
||||
#
|
||||
# Copyright (C) 2008 Dustin Kirkland <kirkland@canonical.com>
|
||||
# Copyright (C) 2008 Canonical Ltd.
|
||||
#
|
||||
# Authors: Dustin Kirkland <kirkland@canonical.com>
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue