diff options
author | Daniel Hansson <github@hanssonit.se> | 2020-07-06 22:35:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-06 22:35:48 +0300 |
commit | 4fb19efd3d62c5091d842079f0177afc44948f8e (patch) | |
tree | 576febdce54c403ba40da07c51fbd0bd45c45540 /static/update.sh | |
parent | e541667eca0a5b634d7d70bd9c2bc78462449d1d (diff) |
[very much WIP] Official VM (#1302)
Signed-off-by: enoch85 <github@hanssonit.se>
Diffstat (limited to 'static/update.sh')
-rw-r--r-- | static/update.sh | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/static/update.sh b/static/update.sh deleted file mode 100644 index d14aa8bd..00000000 --- a/static/update.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -# T&M Hansson IT AB © - 2020, https://www.hanssonit.se/ - -# shellcheck disable=2034,2059 -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 -DEBUG=0 -debug_mode - -# Must be root -root_check - -mkdir -p "$SCRIPTS" - -if [ "${1}" = "minor" ] -then - echo "$((NCMAJOR-1))" > /tmp/minor.version -elif [ "${1}" = "beta" ] -then - echo "beta" > /tmp/prerelease.version -elif [[ "${1}" == *"RC"* ]] -then - echo "${1}" > /tmp/prerelease.version -fi - -# Delete, download, run -run_script GITHUB_REPO nextcloud_update - -exit |