[vlc-commits] nsis: simplify

Ludovic Fauvet git at videolan.org
Sun Sep 29 18:02:42 CEST 2013


vlc/vlc-2.1 | branch: master | Ludovic Fauvet <etix at videolan.org> | Fri Sep 27 23:19:22 2013 +0200| [2815bc498f9b612a42400511dc8e79bb0005c47e] | committer: Jean-Baptiste Kempf

nsis: simplify

(cherry picked from commit 751af66a8ee4d608b25874c2f56cc50fb47a06fa)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=2815bc498f9b612a42400511dc8e79bb0005c47e
---

 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