summaryrefslogtreecommitdiffstats
path: root/scripts/bootstrap/fix_deps.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-29 04:32:14 +0100
committerSuren A. Chilingaryan <csa@suren.me>2019-10-29 04:32:14 +0100
commit97980271effe1bdec41207c69f3ed3831c0c515f (patch)
tree0fe5b1a7b72d874d9f54bc67e211583b8dfe4ee7 /scripts/bootstrap/fix_deps.sh
parentfade0570ec676c3106f866040f913cedcdcef4cc (diff)
downloadgentoo-97980271effe1bdec41207c69f3ed3831c0c515f.tar.gz
gentoo-97980271effe1bdec41207c69f3ed3831c0c515f.tar.bz2
gentoo-97980271effe1bdec41207c69f3ed3831c0c515f.tar.xz
gentoo-97980271effe1bdec41207c69f3ed3831c0c515f.zip
Fine tunning
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