[Gpg4win-commits] [git] Gpg4win - branch, master, updated. gpg4win-3.0.2-10-g4621700
by Andre Heinecke
cvs at cvs.gnupg.org
Thu Jan 11 08:57:02 CET 2018
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG for Windows".
The branch, master has been updated
via 4621700704c77be60e449f04e9391f74296fec6d (commit)
from 800737c3d58ddfb2d9faff3c177374cb36f1d2e1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4621700704c77be60e449f04e9391f74296fec6d
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Thu Jan 11 08:56:50 2018 +0100
Fix source uninstaller
--
diff --git a/src/installer.nsi b/src/installer.nsi
index 1613646..d8049cd 100644
--- a/src/installer.nsi
+++ b/src/installer.nsi
@@ -721,12 +721,14 @@ Function un.onInit
!endif
# Remove the language preference.
!insertmacro MUI_UNGETLANGUAGE
+!ifndef SOURCES
StrCpy $is_update "0"
${un.GetParameters} $R0
ClearErrors
${un.GetOptions} $R0 /UPDATE= $R1
IfErrors +2
StrCpy $is_update "1"
+!endif
FunctionEnd
# This must be in a central place. Urgs.
-----------------------------------------------------------------------
Summary of changes:
src/installer.nsi | 2 ++
1 file changed, 2 insertions(+)
hooks/post-receive
--
GnuPG for Windows
http://git.gnupg.org
More information about the Gpg4win-commits
mailing list