summary refs log tree commit diff
path: root/debian
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2004-09-20 19:47:12 +0000
committerGerrit Pape <pape@smarden.org>2004-09-20 19:47:12 +0000
commitef14eafab5dd09c6706a372835b932015f1fe9a8 (patch)
tree492b3f1c0e0e1791ecd3513b85001cb6b306dd7f /debian
parent4efe874f822db81d0fcf73031113d4e77fd471fb (diff)
downloadrunit-ef14eafab5dd09c6706a372835b932015f1fe9a8.tar.gz
runit-ef14eafab5dd09c6706a372835b932015f1fe9a8.tar.xz
runit-ef14eafab5dd09c6706a372835b932015f1fe9a8.zip
* new upstream release.
  * debian/getty-tty5.run: don't use absolute pathname.
  * debian/control, debian/rules, runit.postinst, runit.postrm: minor
    cleanup.
-1.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog9
-rw-r--r--debian/control2
-rwxr-xr-xdebian/getty-tty5.run2
-rwxr-xr-xdebian/rules2
-rw-r--r--debian/runit.postinst4
-rw-r--r--debian/runit.postrm2
6 files changed, 15 insertions, 6 deletions
diff --git a/debian/changelog b/debian/changelog
index 1cdf332..7317ea6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+runit (1.0.5-1) unstable; urgency=low
+
+  * new upstream release.
+  * debian/getty-tty5.run: don't use absolute pathname.
+  * debian/control, debian/rules, runit.postinst, runit.postrm: minor
+    cleanup.
+
+ -- Gerrit Pape <pape@smarden.org>  Mon, 20 Sep 2004 19:31:59 +0000
+
 runit (1.0.4-2) unstable; urgency=medium
 
   * debian/diff/svlogd.diff: new; from upstream CVS: several minor fixes to
diff --git a/debian/control b/debian/control
index 7473132..5f2de69 100644
--- a/debian/control
+++ b/debian/control
@@ -23,5 +23,5 @@ Description: a UNIX init scheme with service supervision
  .
  See http://smarden.org/runit/ for more information.
  .
- This package does not replace the /sbin/init binary. To do so you need
+ This package does not replace the /sbin/init binary.  To do so you need
  to follow the documentation or install the runit-run package.
diff --git a/debian/getty-tty5.run b/debian/getty-tty5.run
index 6767eae..a52c014 100755
--- a/debian/getty-tty5.run
+++ b/debian/getty-tty5.run
@@ -1,2 +1,2 @@
 #!/bin/sh
-exec /sbin/getty 38400 tty5 linux
+exec getty 38400 tty5 linux
diff --git a/debian/rules b/debian/rules
index c7ae411..45f1c4f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -85,7 +85,7 @@ install: deb-checkdir deb-checkuid build-stamp
 	install -d -m0755 '$(DIR)'/usr/share/doc/runit/debian
 	for i in 1 2 3 ctrlaltdel; do \
 	  install -m0644 admin/runit/etc/debian/$$i \
-	    '$(DIR)'/usr/share/doc/runit/debian/; \
+	    '$(DIR)'/usr/share/doc/runit/debian/ || exit 1; \
 	done
 	# changelog
 	rm -f changelog && ln -s admin/runit/package/CHANGES changelog
diff --git a/debian/runit.postinst b/debian/runit.postinst
index 4c20933..df514ac 100644
--- a/debian/runit.postinst
+++ b/debian/runit.postinst
@@ -6,7 +6,7 @@ test "$1" = 'configure' || exit 0
 if test -z "$2"; then
   # not upgrading
   if grep '^SV:' /etc/inittab >/dev/null; then
-    cat <<EOT >&2
+    cat <<\EOT >&2
 
 There already is an SV entry in /etc/inittab.  In order to have this package
 add an entry with the name SV to have runit's service supervision started
@@ -27,5 +27,5 @@ if ! grep '^SV:' /etc/inittab >/dev/null; then
 	#-- runit end
 	EOT
   mv -f /etc/inittab'{new}' /etc/inittab
-  kill -HUP 1
+  kill -s HUP 1
 fi
diff --git a/debian/runit.postrm b/debian/runit.postrm
index 0befeb7..6ad37ad 100644
--- a/debian/runit.postrm
+++ b/debian/runit.postrm
@@ -9,6 +9,6 @@ if grep '#-- runit begin' /etc/inittab >/dev/null; then
   sed -e '/#-- runit begin/,/#-- runit end/d' \
     </etc/inittab >/etc/inittab'{new}'
   mv -f /etc/inittab'{new}' /etc/inittab
-  kill -HUP 1
+  kill -s HUP 1 || :
 fi
 test "$1" != 'purge' || rm -rf /var/run/getty-5