diff --git a/ct/spliit.sh b/ct/spliit.sh index ce6fa9dc..7a0b9ce7 100755 --- a/ct/spliit.sh +++ b/ct/spliit.sh @@ -35,6 +35,7 @@ function update_script() { msg_ok "Stopped Service" msg_info "Backing up Configuration" + rm -f /opt/spliit.env.bak cp /opt/spliit/.env /opt/spliit.env.bak msg_ok "Backed up Configuration" @@ -42,7 +43,6 @@ function update_script() { msg_info "Restoring Configuration" cp /opt/spliit.env.bak /opt/spliit/.env - rm -f /opt/spliit.env.bak msg_ok "Restored Configuration" msg_info "Building Application" diff --git a/install/spliit-install.sh b/install/spliit-install.sh index 4ab99157..cb35494a 100755 --- a/install/spliit-install.sh +++ b/install/spliit-install.sh @@ -22,7 +22,6 @@ msg_ok "Installed Dependencies" PG_VERSION="16" setup_postgresql PG_DB_NAME="spliit" PG_DB_USER="spliit" setup_postgresql_db NODE_VERSION="22" setup_nodejs - fetch_and_deploy_gh_release "spliit" "spliit-app/spliit" "tarball" msg_info "Configuring Application"