diff options
author | 2019-09-25 07:39:09 -0700 | |
---|---|---|
committer | 2019-09-25 07:39:09 -0700 | |
commit | 22c57837a7d4642746c605cd685d95139db62a0a (patch) | |
tree | ec0b899667a68ce071f8a1a8ef45d691273bf559 | |
parent | bin/update-all: handle non-docker dev environment (diff) | |
download | packages-5-22c57837a7d4642746c605cd685d95139db62a0a.tar.gz packages-5-22c57837a7d4642746c605cd685d95139db62a0a.tar.bz2 packages-5-22c57837a7d4642746c605cd685d95139db62a0a.zip |
bin/update-all: handle non-cgroup kernel
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-x | bin/update-all.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/update-all.sh b/bin/update-all.sh index 2c1781f..9249478 100755 --- a/bin/update-all.sh +++ b/bin/update-all.sh @@ -8,7 +8,7 @@ # from Portage are NOT available unless --sync IS used. # Stuff that we have to do inside Docker: -if grep -qa docker /proc/1/cgroups && [[ ${1} != "production" ]]; then +if [[ -e /proc/1/cgroups ]] && grep -qa docker /proc/1/cgroups && [[ ${1} != "production" ]]; then emerge --sync fi |