mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-12 09:02:12 +02:00
Update jellyseerr.sh
This commit is contained in:
+1
-3
@@ -29,9 +29,7 @@ function update_script() {
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -f "/opt/jellyseerr/package.json" ]]; then
|
if [[ -f "/opt/jellyseerr/package.json" ]] && [[ "$(grep -m1 '"version"' /opt/jellyseerr/package.json | awk -F'"' '{print $4}')" == "2.7.3" ]]; then
|
||||||
CURRENT_VERSION=$(grep '"version"' /opt/jellyseerr/package.json | head -n1 | awk -F'"' '{print $4}')
|
|
||||||
if [[ "$CURRENT_VERSION" == "2.7.3" ]]; then
|
|
||||||
echo
|
echo
|
||||||
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||||
echo "Jellyseerr v2.7.3 detected."
|
echo "Jellyseerr v2.7.3 detected."
|
||||||
|
|||||||
Reference in New Issue
Block a user