summaryrefslogtreecommitdiffstats
path: root/scripts/bootstrap/fix_deps.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/bootstrap/fix_deps.sh')
-rw-r--r--scripts/bootstrap/fix_deps.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/bootstrap/fix_deps.sh b/scripts/bootstrap/fix_deps.sh
index c5ccd3b..fd70755 100644
--- a/scripts/bootstrap/fix_deps.sh
+++ b/scripts/bootstrap/fix_deps.sh
@@ -8,10 +8,10 @@ if [ ! /usr/bin/pkg-config ]; then
fi
# Some applications requires latest version of OpenCL standard, intel provides one
-[ -f /etc/OpenCL/vendors/intelocl64.icd ] || emerge -u1 intel-ocl-sdk && eselect opencl set intel
+[ ! -f /etc/OpenCL/vendors/intelocl64.icd ] && emerge -u1 intel-ocl-sdk && eselect opencl set intel
# Preparing kernel
-[ -f /usr/src/linux/.config ] || emerge -1 gentoo-sources && yes "" | make -C /usr/src/linux oldconfig
+[ ! -f /usr/src/linux/.config ] && emerge -1 gentoo-sources && yes "" | make -C /usr/src/linux oldconfig
# Unmerge
#emerge --depclean -a