mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
* debian/install, screen-profiles-export, screen-profiles-status,
screen-profiles-status.1: move status gathering scripts from /var/lib to /usr/lib, LP: #369368 Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
9de48ea1f8
commit
ff67fda228
5 changed files with 10 additions and 7 deletions
5
debian/changelog
vendored
5
debian/changelog
vendored
|
@ -6,8 +6,11 @@ screen-profiles (1.53) unreleased; urgency=low
|
||||||
* bin/users, screen-profiles.1: when counting users, count remote ssh
|
* bin/users, screen-profiles.1: when counting users, count remote ssh
|
||||||
sessions
|
sessions
|
||||||
* bin/ec2-cost: update location of ec2_version file
|
* bin/ec2-cost: update location of ec2_version file
|
||||||
|
* debian/install, screen-profiles-export, screen-profiles-status,
|
||||||
|
screen-profiles-status.1: move status gathering scripts from /var/lib
|
||||||
|
to /usr/lib, LP: #369368
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 29 Apr 2009 18:51:17 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 29 Apr 2009 18:57:27 -0500
|
||||||
|
|
||||||
screen-profiles (1.52-0ubuntu1) karmic; urgency=low
|
screen-profiles (1.52-0ubuntu1) karmic; urgency=low
|
||||||
|
|
||||||
|
|
2
debian/install
vendored
2
debian/install
vendored
|
@ -1,4 +1,4 @@
|
||||||
bin/* var/lib/screen-profiles
|
bin/* usr/lib/screen-profiles
|
||||||
po/locale/* usr/share/locale
|
po/locale/* usr/share/locale
|
||||||
profiles/common usr/share/screen-profiles/profiles
|
profiles/common usr/share/screen-profiles/profiles
|
||||||
profiles/NONE usr/share/screen-profiles/profiles
|
profiles/NONE usr/share/screen-profiles/profiles
|
||||||
|
|
|
@ -87,7 +87,7 @@ status_config() {
|
||||||
# Generate the status configuration
|
# Generate the status configuration
|
||||||
# Disable the menu, since screen-profiles configurator is not available
|
# Disable the menu, since screen-profiles configurator is not available
|
||||||
# Enable user@host in its place
|
# Enable user@host in its place
|
||||||
for i in $(ls /var/lib/screen-profiles/); do
|
for i in $(ls /usr/lib/screen-profiles/); do
|
||||||
case "$i" in
|
case "$i" in
|
||||||
cpu-count|cpu-freq|date|hostname|load-average|logo|mem-available|mem-used|reboot-required|release|time|updates-available|whoami)
|
cpu-count|cpu-freq|date|hostname|load-average|logo|mem-available|mem-used|reboot-required|release|time|updates-available|whoami)
|
||||||
echo "$i=1"
|
echo "$i=1"
|
||||||
|
@ -221,7 +221,7 @@ STATUS="$DIR/.$PROG/status"
|
||||||
mkdir -p "$DIR/.$PROG/bin"
|
mkdir -p "$DIR/.$PROG/bin"
|
||||||
|
|
||||||
# Copy status scripts
|
# Copy status scripts
|
||||||
cp -a /var/lib/$PROG/* "$DIR/.$PROG/bin"
|
cp -a /usr/lib/$PROG/* "$DIR/.$PROG/bin"
|
||||||
cp -a /usr/bin/$PROG-status "$DIR/.$PROG"
|
cp -a /usr/bin/$PROG-status "$DIR/.$PROG"
|
||||||
|
|
||||||
# Generate the monolithic profile
|
# Generate the monolithic profile
|
||||||
|
|
|
@ -28,8 +28,8 @@
|
||||||
|
|
||||||
if [ -d "$HOME/.screen-profiles/bin" ]; then
|
if [ -d "$HOME/.screen-profiles/bin" ]; then
|
||||||
DIR="$HOME/.screen-profiles/bin"
|
DIR="$HOME/.screen-profiles/bin"
|
||||||
elif [ -d "/var/lib/screen-profiles" ]; then
|
elif [ -d "/usr/lib/screen-profiles" ]; then
|
||||||
DIR="/var/lib/screen-profiles"
|
DIR="/usr/lib/screen-profiles"
|
||||||
else
|
else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
screen\-profiles\-status \- Common starting point for running screen\-profiles status commands
|
screen\-profiles\-status \- Common starting point for running screen\-profiles status commands
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fBscreen\-profiles\-status\fP is a simple script that takes a single argument: a script defined in /var/lib/screen\-profiles. This wrapper is useful for doing some common functionality, like setting the cpu and/or io proirity, determining sane defaults, pre/post processing.
|
\fBscreen\-profiles\-status\fP is a simple script that takes a single argument: a script defined in /usr/lib/screen\-profiles. This wrapper is useful for doing some common functionality, like setting the cpu and/or io proirity, determining sane defaults, pre/post processing.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
\fIhttp://launchpad.net/screen-profiles\fP
|
\fIhttp://launchpad.net/screen-profiles\fP
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue