Package: irmp3
Followup-For: Bug #308398

This patch should fix the problem.  It does remove the user before stopping
the daemon, but this shouldn't cause any negative effects.  The change in
addition to the Depends addition is just moving postrm to prerm.

diff -ruNp irmp3-0.4.3pre6.debian/debian/control irmp3-0.4.3pre6/debian/control
--- irmp3-0.4.3pre6.debian/debian/control       2005-05-10 21:29:07.000000000 
-0700
+++ irmp3-0.4.3pre6/debian/control      2005-05-10 21:30:02.000000000 -0700
@@ -7,7 +7,7 @@ Standards-Version: 3.5.2
 
 Package: irmp3
 Architecture: any
-Depends: ${shlibs:Depends}, mpg321 | mpg123
+Depends: ${shlibs:Depends}, adduser, mpg321 | mpg123
 Suggests: lirc (>= 0.6), lcdproc
 Description: A Multimedia Audio Jukebox application.
  With irmp3 you can control mpg321 (currently, other players are
diff -ruNp irmp3-0.4.3pre6.debian/debian/postrm irmp3-0.4.3pre6/debian/postrm
--- irmp3-0.4.3pre6.debian/debian/postrm        2005-05-10 21:29:07.000000000 
-0700
+++ irmp3-0.4.3pre6/debian/postrm       1969-12-31 16:00:00.000000000 -0800
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# Clean up the irmp3 user if it exists.
-if test -n "`getent passwd irmp3`"; then
-       deluser --remove-home irmp3
-fi
-
-#DEBHELPER#
diff -ruNp irmp3-0.4.3pre6.debian/debian/prerm irmp3-0.4.3pre6/debian/prerm
--- irmp3-0.4.3pre6.debian/debian/prerm 1969-12-31 16:00:00.000000000 -0800
+++ irmp3-0.4.3pre6/debian/prerm        2002-04-29 20:08:59.000000000 -0700
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+# Clean up the irmp3 user if it exists.
+if test -n "`getent passwd irmp3`"; then
+       deluser --remove-home irmp3
+fi
+
+#DEBHELPER#

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.30
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)

Versions of packages irmp3 depends on:
ii  adduser                     3.63         Add and remove users and groups
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  liblircclient0              0.7.1pre2-2  LIRC client library
ii  mpg321 [mpg123]             0.2.10.3     A Free command-line mp3 player, co


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to