Package: screen
Version: 4.0.3-14
Severity: minor
File: /etc/init.d/screen-cleanup
Tags: patch

The init script should check for the existence of /usr/bin/screen
before executing, to prevent outputting strange errors on boot. Patch
attached. However, the fix to Bug #545182 might be a better solution.

-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'proposed-updates'), (400, 'testing'), 
(300, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages screen depends on:
ii  dpkg                      1.15.8.10      Debian package management system
ii  install-info              4.13a.dfsg.1-6 Manage installed documentation in 
ii  libc6                     2.11.2-10      Embedded GNU C Library: Shared lib
ii  libncursesw5              5.7+20100313-5 shared libraries for terminal hand
ii  libpam0g                  1.1.1-6.1      Pluggable Authentication Modules l

screen recommends no packages.

screen suggests no packages.

-- no debconf information
--- screen-4.0.3/debian/init.orig       2011-02-12 09:22:18.413457562 +0430
+++ screen-4.0.3/debian/init    2011-02-12 09:23:11.752460444 +0430
@@ -15,6 +15,8 @@
 
 set -e
 
+test -f /usr/bin/screen || exit 0
+
 SCREENDIR=/var/run/screen
 
 case "$1" in

Reply via email to