From acd23d8798c20fd40fd1d79b6b1c3fe5285f2e25 Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Thu, 27 Feb 2020 20:02:37 +0100 Subject: [PATCH] some update fixes --- update-all.sh | 3 ++- update/jackett.sh | 2 +- update/lidarr.sh | 2 +- update/organizr.sh | 2 +- update/plex.sh | 2 +- update/radarr.sh | 2 +- update/sonarr.sh | 2 +- update/tautulli.sh | 2 +- 8 files changed, 9 insertions(+), 8 deletions(-) diff --git a/update-all.sh b/update-all.sh index 9cb5f85b..d95f2d9d 100755 --- a/update-all.sh +++ b/update-all.sh @@ -1,3 +1,4 @@ -for f in ./update/*.sh; do +cd update +for f in *.sh; do bash "$f" -H done \ No newline at end of file diff --git a/update/jackett.sh b/update/jackett.sh index 373f6107..fb9ffb76 100755 --- a/update/jackett.sh +++ b/update/jackett.sh @@ -1,5 +1,5 @@ iocage exec jackett service jackett stop -iocage exec jackett pkg update -y && pkg upgrade -y +iocage exec jackett pkg update && pkg upgrade -y iocage exec jackett "fetch https://github.com/Jackett/Jackett/releases/download/v0.11.502/Jackett.Binaries.Mono.tar.gz -o /usr/local/share" iocage exec jackett "tar -xzvf /usr/local/share/Jackett.Binaries.Mono.tar.gz -C /usr/local/share" iocage exec jackett rm /usr/local/share/Jackett.Binaries.Mono.tar.gz diff --git a/update/lidarr.sh b/update/lidarr.sh index 713c5f8c..791500a3 100755 --- a/update/lidarr.sh +++ b/update/lidarr.sh @@ -1,5 +1,5 @@ iocage exec lidarr service lidarr stop -iocage exec lidarr pkg update -y && pkg upgrade -y +iocage exec lidarr pkg update && pkg upgrade -y iocage exec lidarr "fetch https://github.com/lidarr/Lidarr/releases/download/v0.2.0.371/Lidarr.develop.0.2.0.371.linux.tar.gz -o /usr/local/share" iocage exec lidarr "tar -xzvf /usr/local/share/v0.2.0.371/Lidarr.develop.0.2.0.371.linux.tar.gz -C /usr/local/share" iocage exec lidarr "rm /usr/local/share/v0.2.0.371/Lidarr.develop.0.2.0.371.linux.tar.gz" diff --git a/update/organizr.sh b/update/organizr.sh index 983d06f2..b85fbf45 100755 --- a/update/organizr.sh +++ b/update/organizr.sh @@ -1,6 +1,6 @@ iocage exec organizr service nginx stop iocage exec organizr service php-fpm stop -iocage exec organizr pkg update -y && pkg upgrade -y +iocage exec organizr pkg update && pkg upgrade -y mv /mnt/tank/iocage/jails/organizr/root/usr/local/etc/nginx/nginx.conf /mnt/tank/iocage/jails/organizr/root/usr/local/etc/nginx/nginx.conf.bak cp ../includes/organizr-conf/nginx.conf /mnt/tank/iocage/jails/organizr/root/usr/local/etc/nginx/nginx.conf cp ../includes/organizr-conf/custom /mnt/tank/iocage/jails/organizr/root/usr/local/etc/nginx/custom diff --git a/update/plex.sh b/update/plex.sh index 546f0646..2a733b15 100755 --- a/update/plex.sh +++ b/update/plex.sh @@ -1,5 +1,5 @@ iocage exec plex service plexmediaserver_plexpass stop -iocage exec plex pkg update -y && pkg upgrade -y +iocage exec plex pkg update && pkg upgrade -y iocage exec plex chown -R plex:plex /usr/local/share/plexmediaserver-plexpass/ iocage exec plex service plexmediaserver_plexpass start sleep 10s diff --git a/update/radarr.sh b/update/radarr.sh index e8c4befa..cc2431ba 100755 --- a/update/radarr.sh +++ b/update/radarr.sh @@ -1,5 +1,5 @@ iocage exec radarr service radarr stop -iocage exec radarr pkg update -y && pkg upgrade -y +iocage exec radarr pkg update && pkg upgrade -y iocage exec radarr "fetch https://github.com/Radarr/Radarr/releases/download/v0.2.0.1480/Radarr.develop.0.2.0.1480.linux.tar.gz -o /usr/local/share" iocage exec radarr "tar -xzvf /usr/local/share/Radarr.develop.0.2.0.1480.linux.tar.gz -C /usr/local/share" iocage exec radarr rm /usr/local/share/Radarr.develop.0.2.0.1480.linux.tar.gz diff --git a/update/sonarr.sh b/update/sonarr.sh index df1e3f8c..6ea47df0 100755 --- a/update/sonarr.sh +++ b/update/sonarr.sh @@ -1,5 +1,5 @@ iocage exec sonarr service sonarr stop -iocage exec sonarr pkg update -y && pkg upgrade -y +iocage exec sonarr pkg update && pkg upgrade -y iocage exec sonarr "fetch http://download.sonarr.tv/v2/master/mono/NzbDrone.master.tar.gz -o /usr/local/share" iocage exec sonarr "tar -xzvf /usr/local/share/NzbDrone.master.tar.gz -C /usr/local/share" iocage exec sonarr rm /usr/local/share/NzbDrone.master.tar.gz diff --git a/update/tautulli.sh b/update/tautulli.sh index 85105f40..6cbda4c1 100755 --- a/update/tautulli.sh +++ b/update/tautulli.sh @@ -1,5 +1,5 @@ iocage exec tautulli service tautulli stop -iocage exec tautulli pkg update -y && pkg upgrade -y +iocage exec tautulli pkg update && pkg upgrade -y iocage exec tautulli cd /usr/local/share/Tautulli iocage exec tautulli git pull iocage exec tautulli chown -R tautulli:tautulli /usr/local/share/Tautulli /config