mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
* debian/postinst, debian/prerm: add/remove symlink for bin scripts to
/var/lib/screen-profiles (should be removed before Jaunty GA) * profiles/common, debian/install: install helper scripts into /var/lib/screen-profiles rather than /usr/share/screen-profiles/bin, LP: #336961
This commit is contained in:
parent
d749b60c38
commit
9c7a333c69
5 changed files with 47 additions and 23 deletions
7
debian/changelog
vendored
7
debian/changelog
vendored
|
@ -2,8 +2,13 @@ screen-profiles (1.32-0ubuntu1) jaunty; urgency=low
|
|||
|
||||
* bin/ec2-cost: since route -n is being used, must grep for 0.0.0.0,
|
||||
LP: #336955
|
||||
* debian/postinst, debian/prerm: add/remove symlink for bin scripts to
|
||||
/var/lib/screen-profiles (should be removed before Jaunty GA)
|
||||
* profiles/common, debian/install: install helper scripts into
|
||||
/var/lib/screen-profiles rather than /usr/share/screen-profiles/bin,
|
||||
LP: #336961
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 02 Mar 2009 16:28:57 -0600
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 02 Mar 2009 17:27:13 -0600
|
||||
|
||||
screen-profiles (1.31-0ubuntu1) jaunty; urgency=low
|
||||
|
||||
|
|
22
debian/install
vendored
22
debian/install
vendored
|
@ -1,14 +1,14 @@
|
|||
bin/cpu-count usr/share/screen-profiles/bin
|
||||
bin/cpu-freq usr/share/screen-profiles/bin
|
||||
bin/ec2-cost usr/share/screen-profiles/bin
|
||||
bin/hostname usr/share/screen-profiles/bin
|
||||
bin/load-average usr/share/screen-profiles/bin
|
||||
bin/mem-available usr/share/screen-profiles/bin
|
||||
bin/mem-used usr/share/screen-profiles/bin
|
||||
bin/reboot-required usr/share/screen-profiles/bin
|
||||
bin/release usr/share/screen-profiles/bin
|
||||
bin/updates-available usr/share/screen-profiles/bin
|
||||
bin/whoami usr/share/screen-profiles/bin
|
||||
bin/cpu-count var/lib/screen-profiles
|
||||
bin/cpu-freq var/lib/screen-profiles
|
||||
bin/ec2-cost var/lib/screen-profiles
|
||||
bin/hostname var/lib/screen-profiles
|
||||
bin/load-average var/lib/screen-profiles
|
||||
bin/mem-available var/lib/screen-profiles
|
||||
bin/mem-used var/lib/screen-profiles
|
||||
bin/reboot-required var/lib/screen-profiles
|
||||
bin/release var/lib/screen-profiles
|
||||
bin/updates-available var/lib/screen-profiles
|
||||
bin/whoami var/lib/screen-profiles
|
||||
profiles/common usr/share/screen-profiles/profiles
|
||||
profiles/plain usr/share/screen-profiles/profiles
|
||||
profiles/ubuntu-* usr/share/screen-profiles/profiles
|
||||
|
|
11
debian/postinst
vendored
Normal file
11
debian/postinst
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
if [ "$1" = "configure" ]; then
|
||||
# This is a hack that should be removed just before Jaunty goes GA.
|
||||
# We have moved these helper scripts from /usr/share to /var/lib, but if the
|
||||
# user is upgrading from within an existing screen session depending on the old
|
||||
# paths, we're going to break their status bar.
|
||||
ln -sf /var/lib/screen-profiles /usr/share/screen-profiles/bin
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
8
debian/prerm
vendored
Normal file
8
debian/prerm
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
if [ "$1" = "remove" ]; then
|
||||
# This is a hack that should be removed just before Jaunty goes GA.
|
||||
[ -L /usr/share/screen-profiles/bin ] && rm -f /usr/share/screen-profiles/bin
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
|
@ -25,17 +25,17 @@ vbell off
|
|||
msgwait 1
|
||||
|
||||
# Define status commands
|
||||
backtick 100 3600 3600 /usr/share/screen-profiles/bin/release
|
||||
backtick 101 60 60 /usr/share/screen-profiles/bin/updates-available
|
||||
backtick 102 2 2 /usr/share/screen-profiles/bin/reboot-required
|
||||
backtick 103 2 2 /usr/share/screen-profiles/bin/cpu-freq
|
||||
backtick 104 3600 3600 /usr/share/screen-profiles/bin/cpu-count
|
||||
backtick 105 3600 3600 /usr/share/screen-profiles/bin/mem-available
|
||||
backtick 106 2 2 /usr/share/screen-profiles/bin/load-average
|
||||
backtick 107 2 2 /usr/share/screen-profiles/bin/mem-used
|
||||
backtick 108 600 600 /usr/share/screen-profiles/bin/ec2-cost
|
||||
backtick 109 3600 3600 /usr/share/screen-profiles/bin/hostname
|
||||
backtick 110 3600 3600 /usr/share/screen-profiles/bin/whoami
|
||||
backtick 100 3600 3600 /var/lib/screen-profiles/release
|
||||
backtick 101 60 60 /var/lib/screen-profiles/updates-available
|
||||
backtick 102 2 2 /var/lib/screen-profiles/reboot-required
|
||||
backtick 103 2 2 /var/lib/screen-profiles/cpu-freq
|
||||
backtick 104 3600 3600 /var/lib/screen-profiles/cpu-count
|
||||
backtick 105 3600 3600 /var/lib/screen-profiles/mem-available
|
||||
backtick 106 2 2 /var/lib/screen-profiles/load-average
|
||||
backtick 107 2 2 /var/lib/screen-profiles/mem-used
|
||||
backtick 108 600 600 /var/lib/screen-profiles/ec2-cost
|
||||
backtick 109 3600 3600 /var/lib/screen-profiles/hostname
|
||||
backtick 110 3600 3600 /var/lib/screen-profiles/whoami
|
||||
|
||||
hardstatus alwayslastline
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue