From c77d0def6288162928f79a20d2483117ea9f92d2 Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Mon, 16 Sep 2019 08:03:43 -0700 Subject: Disable sync in production. This should allow RAILS_ENV=development to work for docker. In production the sync is handled by puppet and the user running update-all.sh doens't have permission to sync. Signed-off-by: Alec Warner --- bin/update-all.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/update-all.sh b/bin/update-all.sh index 82f8751..221ed59 100755 --- a/bin/update-all.sh +++ b/bin/update-all.sh @@ -1,6 +1,8 @@ #!/bin/bash -emerge --sync +if [[ ${1} != "production" ]]; + emerge --sync +fi if [[ ! -d /mnt/packages-tree/gentoo/ ]]; then cd /mnt/packages-tree || exit 1 -- cgit v1.2.3-65-gdbad