etherpad: release fetch fixes
This commit is contained in:
@@ -39,7 +39,7 @@ function update_script() {
|
|||||||
[ -d /opt/etherpad-lite/var ] && cp -a /opt/etherpad-lite/var /opt/etherpad-var.bak
|
[ -d /opt/etherpad-lite/var ] && cp -a /opt/etherpad-lite/var /opt/etherpad-var.bak
|
||||||
msg_ok "Backed up Configuration"
|
msg_ok "Backed up Configuration"
|
||||||
|
|
||||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "etherpad-lite" "ether/etherpad" "tarball" "latest" "/opt/etherpad-lite"
|
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "etherpad-lite" "ether/etherpad" "tarball"
|
||||||
|
|
||||||
msg_info "Rebuilding Etherpad"
|
msg_info "Rebuilding Etherpad"
|
||||||
cd /opt/etherpad-lite
|
cd /opt/etherpad-lite
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ msg_info "Creating etherpad User"
|
|||||||
useradd --system --create-home --home-dir /var/lib/etherpad --shell /usr/sbin/nologin etherpad
|
useradd --system --create-home --home-dir /var/lib/etherpad --shell /usr/sbin/nologin etherpad
|
||||||
msg_ok "Created etherpad User"
|
msg_ok "Created etherpad User"
|
||||||
|
|
||||||
fetch_and_deploy_gh_release "etherpad-lite" "ether/etherpad" "tarball" "latest" "/opt/etherpad-lite"
|
fetch_and_deploy_gh_release "etherpad-lite" "ether/etherpad" "tarball"
|
||||||
|
|
||||||
msg_info "Building Etherpad"
|
msg_info "Building Etherpad"
|
||||||
cd /opt/etherpad-lite
|
cd /opt/etherpad-lite
|
||||||
|
|||||||
Reference in New Issue
Block a user