qtModule: combine conditionals inside evaluation brackets

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Thomas Tuegel 2021-10-31 11:38:56 -05:00 committed by GitHub
parent de97acd190
commit 27b6cf2445
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,7 @@ mkDerivation (args // {
exit 1
fi
if [[ -z "$dontSyncQt" ]] && [[ -f sync.profile ]]; then
if [[ -z "$dontSyncQt" && -f sync.profile ]]; then
syncqt.pl -version "''${version%%-*}"
fi
'';