[vlc-commits] nsis: simplify
Ludovic Fauvet
git at videolan.org
Sat Sep 28 01:46:24 CEST 2013
vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | Fri Sep 27 23:19:22 2013 +0200| [751af66a8ee4d608b25874c2f56cc50fb47a06fa] | committer: Ludovic Fauvet
nsis: simplify
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=751af66a8ee4d608b25874c2f56cc50fb47a06fa
---
extras/package/win32/NSIS/vlc.win32.nsi.in | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/extras/package/win32/NSIS/vlc.win32.nsi.in b/extras/package/win32/NSIS/vlc.win32.nsi.in
index ba65d97..a3ec311 100644
--- a/extras/package/win32/NSIS/vlc.win32.nsi.in
+++ b/extras/package/win32/NSIS/vlc.win32.nsi.in
@@ -428,11 +428,10 @@ Function .onInit
${MementoSectionRestore}
@HAVE_WIN64_TRUE@ !include "x64.nsh"
- at HAVE_WIN64_TRUE@ ${If} ${RunningX64}
- at HAVE_WIN64_TRUE@ ${Else}
+ at HAVE_WIN64_TRUE@ ${Unless} ${RunningX64}
@HAVE_WIN64_TRUE@ MessageBox MB_OK|MB_ICONSTOP "This version of VLC only runs on 64bits operating systems.$\nYour operating system is 32bits.$\n$\nPlease get the 32 BITS version."
@HAVE_WIN64_TRUE@ Quit
- at HAVE_WIN64_TRUE@ ${Endif}
+ at HAVE_WIN64_TRUE@ ${EndUnless}
${If} ${AtLeastWinXP}
${If} ${IsWinXP}
${AndIf} ${AtMostServicePack} 1
More information about the vlc-commits
mailing list