summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2011-10-05 02:52:47 +0200
committerAxel Beckert <abe@deuxchevaux.org>2011-10-05 02:52:47 +0200
commit79a8d224e2537af823d8b4dc57eaac079564ad88 (patch)
tree0ca80987f2526987b36d3665062e52a2d84ba2fc /debian
parenta8838f22a205ac5232dcce97401419086cea677e (diff)
downloadscreen-79a8d224e2537af823d8b4dc57eaac079564ad88.tar.gz
debian/init: check for existence of screen binary (Closes: #612990)
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rw-r--r--debian/init2
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 5a12ced..c132b89 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -57,6 +57,8 @@ screen (4.1.0~20110819git450e8f3-1) UNRELEASED; urgency=low
* Fix lintian warning debian-rules-missing-recommended-target
* Add lintian override for
possibly-insecure-handling-of-tmp-files-in-maintainer-script
+ * /etc/init.d/screen-cleanup: check for existence of screen binary
+ (Closes: #612990)
-- Axel Beckert <abe@debian.org> Tue, 04 Oct 2011 23:30:57 +0200
diff --git a/debian/init b/debian/init
index e2dab62..fa1e606 100644
--- a/debian/init
+++ b/debian/init
@@ -15,6 +15,8 @@
set -e
+test -f /usr/bin/screen || exit 0
+
SCREENDIR=/var/run/screen
case "$1" in