Compare commits
2 Commits
17a6affa85
...
3cfc72221d
| Author | SHA1 | Date | |
|---|---|---|---|
| 3cfc72221d | |||
| 96be47824f |
+1
-1
@@ -957,7 +957,7 @@ GUM_INPUT_TIMEOUT="3600"
|
|||||||
|
|
||||||
# --- PRE MAIN LOGIC --->
|
# --- PRE MAIN LOGIC --->
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
clear
|
||||||
trap cleanup EXIT
|
trap cleanup EXIT
|
||||||
# --- PRE MAIN LOGIC ---<
|
# --- PRE MAIN LOGIC ---<
|
||||||
|
|
||||||
|
|||||||
+2
-4
@@ -6,6 +6,7 @@ set -euo pipefail
|
|||||||
|
|
||||||
REPO_URL="https://gittea.dev/numbus/numbus.git"
|
REPO_URL="https://gittea.dev/numbus/numbus.git"
|
||||||
INSTALL_DIR="/run/user/$(id -u)/numbus-installer"
|
INSTALL_DIR="/run/user/$(id -u)/numbus-installer"
|
||||||
|
BRANCH="${BRANCH:-production}"
|
||||||
|
|
||||||
echo -e "\n ☁️ Initializing Numbus Installer..."
|
echo -e "\n ☁️ Initializing Numbus Installer..."
|
||||||
|
|
||||||
@@ -43,12 +44,9 @@ if [[ -e ${INSTALL_DIR}/config/* ]]; then
|
|||||||
echo " ✅ Your files have been moved to the ${OLD_CONFIG_PATH} directory. You can retrieve them there if needed."
|
echo " ✅ Your files have been moved to the ${OLD_CONFIG_PATH} directory. You can retrieve them there if needed."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git clone "${REPO_URL}" "${INSTALL_DIR}" -q
|
git clone -b "${BRANCH}" "${REPO_URL}" "${INSTALL_DIR}" -q
|
||||||
|
|
||||||
# 3. Launch the deployment script
|
# 3. Launch the deployment script
|
||||||
cd "${INSTALL_DIR}/script"
|
cd "${INSTALL_DIR}/script"
|
||||||
chmod +x deploy.sh
|
chmod +x deploy.sh
|
||||||
|
|
||||||
clear
|
|
||||||
|
|
||||||
./deploy.sh
|
./deploy.sh
|
||||||
Reference in New Issue
Block a user