Compare commits

...

2 Commits

Author SHA1 Message Date
Allard Katstra e81d51399c
Adding the "tools" directory to the backup before updating homer (#2460) 2024-02-09 11:06:22 -05:00
tteckster be47eb1039
Update tdarr-install.sh
add handbrake
2024-02-09 10:23:52 -05:00
2 changed files with 6 additions and 3 deletions

View File

@ -62,7 +62,8 @@ msg_ok "Stopped ${APP}"
msg_info "Backing up config.yml"
cd ~
cp -R /opt/homer/assets/config.yml config.yml
msg_ok "Backed up config.yml"
cp -R /opt/homer/assets/tools tools
msg_ok "Backed up config.yml and tools directory"
msg_info "Updating ${APP}"
rm -rf /opt/homer/*
@ -73,10 +74,11 @@ msg_ok "Updated ${APP}"
msg_info "Restoring conf.yml"
cd ~
cp -R config.yml /opt/homer/assets
msg_ok "Restored conf.yml"
cp -R tools /opt/homer/assets
msg_ok "Restored config.yml and tools directory"
msg_info "Cleaning"
rm -rf config.yml /opt/homer/homer.zip
rm -rf config.yml tools /opt/homer/homer.zip
msg_ok "Cleaned"
msg_info "Starting ${APP}"

View File

@ -17,6 +17,7 @@ msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y handbrake-cli
msg_ok "Installed Dependencies"
if [[ "$CTTYPE" == "0" ]]; then