[X2Go-Commits] [pyhoca-gui] 28/71: CVix NSIS script: empty installation destination before installing new files into $INSTDIR.
git-admin at x2go.org
git-admin at x2go.org
Thu Mar 20 00:32:42 CET 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch cvix/2.x
in repository pyhoca-gui.
commit 1cc877c6170f1e7bd7d17c34be6096d36dad439a
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Fri Feb 7 11:56:57 2014 +0100
CVix NSIS script: empty installation destination before installing new files into $INSTDIR.
---
CVix_nsis_template.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/CVix_nsis_template.py b/CVix_nsis_template.py
index 97451aa..c272b69 100644
--- a/CVix_nsis_template.py
+++ b/CVix_nsis_template.py
@@ -244,6 +244,9 @@ Section "{program_name} ($REQUIRED)"
SectionIn RO
; Set output path to the installation directory.
SetOutPath "$INSTDIR"
+ ; Empty $INSTDIR before writing new files to it.
+ RmDir /r "$INSTDIR\\*.*"
+ ; Install new files...
File /r /x .svn /x .git "${{distOutputDirectory}}\\*.*"
; Copy CVix_customer and CVix_customer.key into $INSTDIR
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git
More information about the x2go-commits
mailing list