diff options
-rwxr-xr-x | bin/update-all.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |