mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-26 16:43:17 +01:00
Update homer-v5.sh
This commit is contained in:
parent
8265e5eddd
commit
1e2f8fb059
@ -327,7 +327,7 @@ msg_ok "Stopped ${APP}"
|
|||||||
|
|
||||||
msg_info "Backing up conf.yml"
|
msg_info "Backing up conf.yml"
|
||||||
cd ~
|
cd ~
|
||||||
cp -R /opt/homer/assets/conf.yml conf.yml
|
cp -R /opt/homer/assets/config.yml config.yml
|
||||||
msg_ok "Backed up conf.yml"
|
msg_ok "Backed up conf.yml"
|
||||||
|
|
||||||
msg_info "Updating ${APP}"
|
msg_info "Updating ${APP}"
|
||||||
@ -338,11 +338,11 @@ unzip homer.zip &>/dev/null
|
|||||||
msg_ok "Updated ${APP}"
|
msg_ok "Updated ${APP}"
|
||||||
msg_info "Restoring conf.yml"
|
msg_info "Restoring conf.yml"
|
||||||
cd ~
|
cd ~
|
||||||
cp -R conf.yml /opt/homer/assets
|
cp -R config.yml /opt/homer/assets
|
||||||
msg_ok "Restored conf.yml"
|
msg_ok "Restored conf.yml"
|
||||||
|
|
||||||
msg_info "Cleaning"
|
msg_info "Cleaning"
|
||||||
rm -rf conf.yml /opt/homer/homer.zip
|
rm -rf config.yml /opt/homer/homer.zip
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
|
||||||
msg_info "Starting ${APP}"
|
msg_info "Starting ${APP}"
|
||||||
|
Loading…
Reference in New Issue
Block a user