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
parent
commit
c9cd536f3d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      support/functions/_sys_check

6
support/functions/_sys_check

@ -130,9 +130,9 @@ then
done
fi
binvars=( dialog grep gawk wget tar bzip2 svn xz upx patch gcc make scp sshpass openssl dos2unix );
headervars=( crypto.h libusb.h pcsclite.h pthread.h )
libvars=( libccidtwin.so )
[ -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') )
[ -z ${4+x} ] && headervars=( crypto.h libusb.h pcsclite.h pthread.h ) || headervars=( $(echo "$4" | tr ' ' '\n') )
[ -z ${5+x} ] && libvars=( libccidtwin.so ) || libvars=( $(echo "$5" | tr ' ' '\n') )
sanity=1
if ! prerequisites silent || [ "$now" == "now" ]

Loading…
Cancel
Save