tags 431515 patch
thanks

Hello.

I wrote a patch which checks that it has deluser.
This check is same as freewnn-kserver.postrm do.

Cheers,
-- 
/*
 * Masami Ichikawa
 * mailto: [EMAIL PROTECTED]
 */
--- freewnn-1.1.0+1.1.1-a021.old/debian/freewnn-jserver.postrm	2007-09-14 22:20:37.000000000 +0900
+++ freewnn-1.1.0+1.1.1-a021/debian/freewnn-jserver.postrm	2007-09-14 23:30:23.000000000 +0900
@@ -19,7 +19,9 @@
 case "$1" in
    purge)
        rm -rf /var/lib/wnn/ja_JP/dic || true
-       deluser --remove-home wnn
+       if deluser --version >/dev/null 2>&1; then
+	       deluser --remove-home wnn
+       fi
        ;;
 
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)

Reply via email to