tags 473514 + patch
thanks

Patch attached.


Regards,

-- 
Chris Lamb, UK                                       [EMAIL PROTECTED]
                                                            GPG: 0x634F9A20
diff -urNad newsx-1.6.orig/debian/newsx.postinst newsx-1.6/debian/newsx.postinst
--- newsx-1.6.orig/debian/newsx.postinst        2008-04-08 08:41:51.000000000 
+0100
+++ newsx-1.6/debian/newsx.postinst     2008-04-08 08:44:19.000000000 +0100
@@ -6,13 +6,13 @@
                if [ "x${newsxmovingrequired}" != "x" ] ; then
                        echo "Trying to move per-host configuration files from
                        /var/spool/news/in.hosts to /etc/newsx/" 1>&2
-                       pushd /var/spool/news/in.hosts/
+                       cd /var/spool/news/in.hosts/
                        for i in *.conf ; do
                                if [ -f "$i" ] && [ ! -e "/etc/newsx/$i" ] ; 
then
                                        mv "$i" "/etc/newsx/$i"
                                fi
                        done
-                       popd
+                       cd $OLDPWD
                fi
        fi
 fi

Attachment: signature.asc
Description: PGP signature

Reply via email to