* 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:
Dustin Kirkland 2009-04-29 19:01:00 -05:00
commit ff67fda228
5 changed files with 10 additions and 7 deletions

5
debian/changelog vendored
View file

@ -6,8 +6,11 @@ screen-profiles (1.53) unreleased; urgency=low
* bin/users, screen-profiles.1: when counting users, count remote ssh
sessions
* 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

2
debian/install vendored
View file

@ -1,4 +1,4 @@
bin/* var/lib/screen-profiles
bin/* usr/lib/screen-profiles
po/locale/* usr/share/locale
profiles/common usr/share/screen-profiles/profiles
profiles/NONE usr/share/screen-profiles/profiles

View file

@ -87,7 +87,7 @@ status_config() {
# Generate the status configuration
# Disable the menu, since screen-profiles configurator is not available
# 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
cpu-count|cpu-freq|date|hostname|load-average|logo|mem-available|mem-used|reboot-required|release|time|updates-available|whoami)
echo "$i=1"
@ -221,7 +221,7 @@ STATUS="$DIR/.$PROG/status"
mkdir -p "$DIR/.$PROG/bin"
# 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"
# Generate the monolithic profile

View file

@ -28,8 +28,8 @@
if [ -d "$HOME/.screen-profiles/bin" ]; then
DIR="$HOME/.screen-profiles/bin"
elif [ -d "/var/lib/screen-profiles" ]; then
DIR="/var/lib/screen-profiles"
elif [ -d "/usr/lib/screen-profiles" ]; then
DIR="/usr/lib/screen-profiles"
else
exit 1
fi

View file

@ -3,7 +3,7 @@
screen\-profiles\-status \- Common starting point for running screen\-profiles status commands
.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
\fIhttp://launchpad.net/screen-profiles\fP