Browse Source
Merge pull request #22 from WXbet/Gorgone
Extend _sys_check to use it from plugins
pull/24/head
Gorgone
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
support/functions/_sys_check
|
@ -130,9 +130,9 @@ then |
|
|
done |
|
|
done |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
binvars=( dialog grep gawk wget tar bzip2 svn xz upx patch gcc make scp sshpass openssl dos2unix ); |
|
|
[ -z ${3+x} ] && binvars=( dialog grep gawk wget tar bzip2 svn xz upx patch gcc make scp sshpass openssl dos2unix ) || binvars=( $(echo "$3" | tr ' ' '\n') ) |
|
|
headervars=( crypto.h libusb.h pcsclite.h pthread.h ) |
|
|
[ -z ${4+x} ] && headervars=( crypto.h libusb.h pcsclite.h pthread.h ) || headervars=( $(echo "$4" | tr ' ' '\n') ) |
|
|
libvars=( libccidtwin.so ) |
|
|
[ -z ${5+x} ] && libvars=( libccidtwin.so ) || libvars=( $(echo "$5" | tr ' ' '\n') ) |
|
|
sanity=1 |
|
|
sanity=1 |
|
|
|
|
|
|
|
|
if ! prerequisites silent || [ "$now" == "now" ] |
|
|
if ! prerequisites silent || [ "$now" == "now" ] |
|
|