Package: spong-common
Version: 2.7.7-8
Severity: important
Tags: patch

--- spong-common.postinst.orig  2005-08-23 22:54:12.142434228 +0200
+++ spong-common.postinst 2005-08-23 23:03:17.744181026 +0200
@@ -14,7 +14,7 @@
 
 db_get spong-common/server_where
 
-if [ ! -f $spong_localcfg -a "$RET" ]; then
+if [ ! -f $spong_localcfg ] && [ "$RET" ]; then
 
   cat <<EOF> $spong_localcfg
 # This file is automatically created by debconf, yet all modifications

--- spong-common.postrm.orig  2005-08-23 23:02:43.526684827 +0200
+++ spong-common.postrm 2005-08-23 23:03:30.355924199 +0200
@@ -1,6 +1,6 @@
 #!/bin/sh -e
 
- if [ "$1" = "purge" -a -e /usr/share/debconf/confmodule ]; then
+ if [ "$1" = "purge" ] && [ -e /usr/share/debconf/confmodule ]; then
      # Source debconf library.
      . /usr/share/debconf/confmodule
      # Remove my changes to the db.

-- System Information:
Debian Release: 3.1
  APT prefers stable
  APT policy: (700, 'stable'), (600, 'testing'), (98, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-cirrus
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

-- 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP (sub)keys? Use subkeys.pgp.net as keyserver!
 
"a man's very highest moment is, i have no doubt at all, when he
 kneels in the dust, and beats his breast, and tells all the sins of
 his life."
                                                        -- oscar wilde

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to