[Pkg-sql-ledger-commit] r449 - ledger-smb/trunk/debian

pkg-sql-ledger-commit-owner at lists.alioth.debian.org pkg-sql-ledger-commit-owner at lists.alioth.debian.org
Tue Mar 13 16:25:30 UTC 2012


Author: jame-guest
Date: 2012-03-13 16:25:29 +0000 (Tue, 13 Mar 2012)
New Revision: 449

Modified:
   ledger-smb/trunk/debian/ledgersmb.postinst
Log:
Remove old code from postinst that conditionally installed pos.conf.po 

Modified: ledger-smb/trunk/debian/ledgersmb.postinst
===================================================================
--- ledger-smb/trunk/debian/ledgersmb.postinst	2012-03-12 13:33:42 UTC (rev 448)
+++ ledger-smb/trunk/debian/ledgersmb.postinst	2012-03-13 16:25:29 UTC (rev 449)
@@ -45,13 +45,6 @@
                 fi
             fi
         fi
-        # Only do these if this is the initial install.
-        if [ "$2" = "" ]; then
-            # Install a default copy of pos.conf.pl using the example template file.
-            if [ ! -e "/usr/share/ledgersmb/pos.conf.pl" ]; then
-                cp /usr/share/doc/ledgersmb/examples/pos.conf.pl.template /usr/share/ledgersmb/pos.conf.pl
-            fi
-        fi
         #   Remove these settings for /etc/ledgersmb/*, as dpkg-statoverride
         # is no longer being used in debian/postinst to set it.
         if dpkg --compare-versions $2 lt 1.3.9-2; then




More information about the Pkg-sql-ledger-commit mailing list