[glade/mingw: 1/5] Abstract from linux distro



commit 753f53deb5a4aa7dbb5a2235852272875648953e
Author: Alberto Fanjul <albertofanjul gmail com>
Date:   Sat May 23 13:08:15 2020 +0200

    Abstract from linux distro

 build/mingw-w64/nsis_make_installer.sh | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/build/mingw-w64/nsis_make_installer.sh b/build/mingw-w64/nsis_make_installer.sh
old mode 100644
new mode 100755
index 61fac735..6825434b
--- a/build/mingw-w64/nsis_make_installer.sh
+++ b/build/mingw-w64/nsis_make_installer.sh
@@ -68,17 +68,20 @@ esac
 
 # Install mingw-w64 if nescesary
 if test ! -e /usr/bin/i686-w64-mingw32-gcc; then
-sudo apt-get install mingw-w64
+ echo install mingw32-gcc
+ exit 1
 fi
 
 # Install nsis if nescesary
 if test ! -e /usr/bin/makensis; then
-sudo apt-get install nsis
+  echo install makensis
+  exit 1
 fi
 
 # Install 7z if nescesary
 if test ! -e /usr/bin/7z; then
-sudo apt-get install p7zip-full
+  echo install 7z
+  exit 1
 fi
 
 echo cd $WORK


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]