diff options
author | szaimen <42591237+szaimen@users.noreply.github.com> | 2020-02-23 20:03:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-23 20:03:22 +0300 |
commit | ee15a4bac1b962e606f7822346f62e9c8c35a341 (patch) | |
tree | d57441e7595caaaed38cfe1f54524bb7530f2305 /apps/tmbitwarden.sh | |
parent | 9983a7c8b5a469703913d783863d580ec209bec4 (diff) |
put lowest_compatible and ram/gpu_check to the right position (#1107)
Diffstat (limited to 'apps/tmbitwarden.sh')
-rw-r--r-- | apps/tmbitwarden.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/tmbitwarden.sh b/apps/tmbitwarden.sh index a870ef51..59c137b8 100644 --- a/apps/tmbitwarden.sh +++ b/apps/tmbitwarden.sh @@ -7,7 +7,6 @@ true # shellcheck source=lib.sh . <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh) - # Check for errors + debug code and abort if something isn't right # 1 = ON # 0 = OFF @@ -17,6 +16,10 @@ debug_mode # Check if root root_check +# Test RAM size (3 GB min) + CPUs (min 2) +ram_check 3 Bitwarden +cpu_check 2 Bitwarden + # Check if Bitwarden is already installed print_text_in_color "$ICyan" "Checking if Bitwarden is already installed..." if [ "$(docker ps -a >/dev/null 2>&1 && echo yes || echo no)" == "yes" ] @@ -62,10 +65,6 @@ else sleep 0.1 fi -# Test RAM size (3 GB min) + CPUs (min 2) -ram_check 3 Bitwarden -cpu_check 2 Bitwarden - # Install Docker install_docker install_if_not docker-compose |