Compare commits

..

2 Commits

Author SHA1 Message Date
tteckster 026ad7bbec
Update sonarr.sh
tweak
2023-11-11 07:35:38 -05:00
tteckster e1cdf7ddd4
Update shinobi-install.sh
fix spelling
2023-11-11 06:50:31 -05:00
2 changed files with 3 additions and 1 deletions

View File

@ -55,12 +55,14 @@ header_info
if [[ ! -f /etc/apt/sources.list.d/sonarr.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ ! -f /etc/apt/sources.list.d/sonarr.list ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
read -r -p "Are you updating Sonarr v4? <y/N> " prompt read -r -p "Are you updating Sonarr v4? <y/N> " prompt
if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then
msg_info "Updating $APP v4"
systemctl stop sonarr.service systemctl stop sonarr.service
wget -q -O SonarrV4.tar.gz 'https://services.sonarr.tv/v1/download/develop/latest?version=4&os=linux' wget -q -O SonarrV4.tar.gz 'https://services.sonarr.tv/v1/download/develop/latest?version=4&os=linux'
tar -xzf SonarrV4.tar.gz tar -xzf SonarrV4.tar.gz
cp -r Sonarr/* /usr/lib/sonarr/bin cp -r Sonarr/* /usr/lib/sonarr/bin
rm -rf Sonarr SonarrV4.tar.gz rm -rf Sonarr SonarrV4.tar.gz
systemctl start sonarr.service systemctl start sonarr.service
msg_ok "Updated $APP v4"
exit exit
fi fi
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"

View File

@ -36,7 +36,7 @@ msg_info "Installing FFMPEG"
$STD apt-get install -y ffmpeg $STD apt-get install -y ffmpeg
msg_ok "Installed FFMPEG" msg_ok "Installed FFMPEG"
msg_info "Clonning Shinobi" msg_info "Cloning Shinobi"
cd /opt cd /opt
$STD git clone https://gitlab.com/Shinobi-Systems/Shinobi.git -b master Shinobi $STD git clone https://gitlab.com/Shinobi-Systems/Shinobi.git -b master Shinobi
cd Shinobi cd Shinobi