mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "e81d51399c71c13f4bdcd3329d57fc54d7ec6192" and "c0856c0d0c5ca18aecfab7a4788501ee03e4d53e" have entirely different histories.
e81d51399c
...
c0856c0d0c
|
@ -62,8 +62,7 @@ msg_ok "Stopped ${APP}"
|
||||||
msg_info "Backing up config.yml"
|
msg_info "Backing up config.yml"
|
||||||
cd ~
|
cd ~
|
||||||
cp -R /opt/homer/assets/config.yml config.yml
|
cp -R /opt/homer/assets/config.yml config.yml
|
||||||
cp -R /opt/homer/assets/tools tools
|
msg_ok "Backed up config.yml"
|
||||||
msg_ok "Backed up config.yml and tools directory"
|
|
||||||
|
|
||||||
msg_info "Updating ${APP}"
|
msg_info "Updating ${APP}"
|
||||||
rm -rf /opt/homer/*
|
rm -rf /opt/homer/*
|
||||||
|
@ -74,11 +73,10 @@ msg_ok "Updated ${APP}"
|
||||||
msg_info "Restoring conf.yml"
|
msg_info "Restoring conf.yml"
|
||||||
cd ~
|
cd ~
|
||||||
cp -R config.yml /opt/homer/assets
|
cp -R config.yml /opt/homer/assets
|
||||||
cp -R tools /opt/homer/assets
|
msg_ok "Restored conf.yml"
|
||||||
msg_ok "Restored config.yml and tools directory"
|
|
||||||
|
|
||||||
msg_info "Cleaning"
|
msg_info "Cleaning"
|
||||||
rm -rf config.yml tools /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}"
|
||||||
|
|
|
@ -17,7 +17,6 @@ msg_info "Installing Dependencies"
|
||||||
$STD apt-get install -y curl
|
$STD apt-get install -y curl
|
||||||
$STD apt-get install -y sudo
|
$STD apt-get install -y sudo
|
||||||
$STD apt-get install -y mc
|
$STD apt-get install -y mc
|
||||||
$STD apt-get install -y handbrake-cli
|
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
if [[ "$CTTYPE" == "0" ]]; then
|
if [[ "$CTTYPE" == "0" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue