* usr/bin/byobu-status, usr/lib/byobu/.constants,

usr/lib/byobu/Makefile.am, usr/lib/byobu/.shutil:
  - add copyright headers, install constants
This commit is contained in:
Dustin Kirkland 2011-06-27 12:57:34 +00:00
commit 8e0e785ce8
5 changed files with 43 additions and 1 deletions

3
debian/changelog vendored
View file

@ -25,6 +25,9 @@ byobu (4.14) unreleased; urgency=low
- add frequencies - add frequencies
* experimental/byobu-status-all: * experimental/byobu-status-all:
- intermediate commit, helper tool with some of the new logic - intermediate commit, helper tool with some of the new logic
* usr/bin/byobu-status, usr/lib/byobu/.constants,
usr/lib/byobu/Makefile.am, usr/lib/byobu/.shutil:
- add copyright headers, install constants
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 16 Jun 2011 16:16:29 -0500 -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 16 Jun 2011 16:16:29 -0500

View file

@ -89,6 +89,8 @@ case "$P" in
[ "$x" = "1" ] || exit 0 [ "$x" = "1" ] || exit 0
shift shift
find_script "$P" && . "${_RET}" find_script "$P" && . "${_RET}"
local s=${_RET##*/}
eval "__$s"
;; ;;
esac esac

View file

@ -1,4 +1,22 @@
#!/bin/sh #!/bin/sh
#
# .constants: some constant values needed by all library status scripts
#
# Copyright (C) 2011 Dustin Kirkland
#
# Authors: Dustin Kirkland <kirkland@ubuntu.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, version 3 of the License.
#
# 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/>.
PKG="byobu" PKG="byobu"
CONFIG_DIR="$HOME/.$PKG" CONFIG_DIR="$HOME/.$PKG"

View file

@ -1,4 +1,23 @@
#!/bin/sh #!/bin/sh
#
# .shutil: some shared utilities used by all status scripts
#
# Copyright (C) 2011 Dustin Kirkland
#
# Authors: Dustin Kirkland <kirkland@ubuntu.com>
# Scott Moser <smoser@ubuntu.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, version 3 of the License.
#
# 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/>.
color 2>/dev/null || color() { true; } color 2>/dev/null || color() { true; }

View file

@ -1,3 +1,3 @@
libdirdir = $(prefix)/lib/@PACKAGE@ libdirdir = $(prefix)/lib/@PACKAGE@
libdir_SCRIPTS = apport arch battery cpu_count cpu_freq cpu_temp custom date disk disk_io ec2_cost fan_speed hostname ip_address load_average logo mail mem_available mem_used menu network .notify_osd notify_osd processes raid rcs_cost reboot_required release services swap time time_binary time_utc trash updates_available uptime users whoami wifi_quality .shutil libdir_SCRIPTS = apport arch battery cpu_count cpu_freq cpu_temp custom date disk disk_io ec2_cost fan_speed hostname ip_address load_average logo mail mem_available mem_used menu network .notify_osd notify_osd processes raid rcs_cost reboot_required release services swap time time_binary time_utc trash updates_available uptime users whoami wifi_quality .constants .shutil