diff options
author | Jernuh Zakalwe | 2021-05-03 11:54:47 +0200 |
---|---|---|
committer | Jernuh Zakalwe | 2021-05-03 11:54:47 +0200 |
commit | dd4524cb14307f8ba48fd17443f30fa617a2aeea (patch) | |
tree | ad2df666b40bdaaab055c3b149d37ebc9a67e33b /setup_lite.sh.in | |
parent | 9e3dce561e687e3e9c62adc792f47d8a13bc457d (diff) | |
download | aur-dd4524cb14307f8ba48fd17443f30fa617a2aeea.tar.gz |
In build scripts checksum routine and minor changes added.
Wget as alternative to curl in build and setup scripts added.
Installation with missing requirements added (temporary solution, not final).
Enabled DX11 mode as default in evesetup.shlib in eve environment function.
Diffstat (limited to 'setup_lite.sh.in')
-rw-r--r-- | setup_lite.sh.in | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/setup_lite.sh.in b/setup_lite.sh.in index d76aed99575b..73c49a55cb47 100644 --- a/setup_lite.sh.in +++ b/setup_lite.sh.in @@ -67,26 +67,31 @@ bootstrap_remove() { } check_req() { - if [ ! -r "$(find /usr/lib -type f -name 'libxcb-xinerama*' 2>/dev/null)" ] ;then - req="${req}libxcb-xinerama\n" - fi if [ ! -x "$(which 7z 2>/dev/null)" ] ;then req="${req}7z\n" fi + if [ ! -x "$(which lsof 2>/dev/null)" ] ;then + req="${req}lsof\n" + fi if [ ! -x "$(which wine 2>/dev/null)" ] ;then req="${req}wine\n" fi + if [ ! -r "$(find /usr/lib -type f -name 'libxcb-xinerama*' 2>/dev/null)" ] ;then + req="${req}libxcb-xinerama\n" + fi tar xf evelauncher-$elver.tar.gz cd evelauncher/ - req="${req}$(LD_LIBRARY_PATH=$(pwd) ldd ./evelauncher | grep -i not | sed 's,\t,,;s,.so.*,,')" + req="${req}$(LD_LIBRARY_PATH=$(pwd) ldd ./evelauncher | grep -i not | sed 's,\t,,;s,.so.*,,')\n" cd ../ rm -rf evelauncher/ if [ "x$req" != "x" ] ;then printf "\nError: Following requirements are missing:\n" printf "\n$req\n" - printf "\nPlease install these requirements with your Package Manager.\n" - printf "\nLeaving.\n\n" - exit 0 + read -p 'Install anyway? (y/N) ' key + if [ "x$(echo $key | tr [:upper:] [:lower:])" != "xy" ] ;then + printf "\nLeaving.\n\n" + exit 0 + fi fi } |