[Gpg4win-commits] r1578 - in trunk: . src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Nov 2 09:54:29 CET 2010


Author: emanuel
Date: 2010-11-02 09:54:28 +0100 (Tue, 02 Nov 2010)
New Revision: 1578

Modified:
   trunk/ChangeLog
   trunk/src/inst-gnupg2.nsi
Log:
Install trustlist.txt and trustlist.txt.example.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-10-29 07:19:46 UTC (rev 1577)
+++ trunk/ChangeLog	2010-11-02 08:54:28 UTC (rev 1578)
@@ -1,3 +1,8 @@
+2010-11-02  Emanuel Schuetze <emanuel at intevation.de>
+
+	* src/inst-gnupg2.nsi: Install trustlist.txt and trustlist.txt.example
+	  into $APPDATA\GNU\etc\gnupg.
+
 2010-09-24  Werner Koch  <wk at g10code.com>
 
 	* patches/gnupg2-2.0.16/06-reread-agent.patch: New.

Modified: trunk/src/inst-gnupg2.nsi
===================================================================
--- trunk/src/inst-gnupg2.nsi	2010-10-29 07:19:46 UTC (rev 1577)
+++ trunk/src/inst-gnupg2.nsi	2010-11-02 08:54:28 UTC (rev 1578)
@@ -177,6 +177,13 @@
   SetShellVarContext all
   SetOutPath "$APPDATA\GNU\etc\gnupg"
   File /oname=gpgconf-conf.skel "${source}/doc/examples/gpgconf.conf"
+  File /oname=trustlist.txt.example "${source}/doc/examples/trustlist.txt"
+  # create empty trustlist.txt if not exists
+  IfFileExists "$APPDATA\GNU\etc\gnupg\trustlist.txt" TrustlistExists TrustlistNotExists
+  TrustlistNotExists:
+    FileOpen $9 trustlist.txt w ;Open new file
+    FileClose $9 ;Closes file
+  TrustlistExists:
   SetShellVarContext current
 
 



More information about the Gpg4win-commits mailing list