plex: prevent [] syntax issue (#9318)

This commit is contained in:
CanbiZ
2025-11-21 15:34:04 +01:00
committed by GitHub
parent bda9286043
commit 29ee6cdff3

View File

@@ -23,7 +23,8 @@ function update_script() {
header_info
check_container_storage
check_container_resources
if [ ! -f /etc/apt/sources.list.d/plexmediaserver.list ]] && [[ ! -f /etc/apt/sources.list.d/plexmediaserver.sources ]]; then
if [[ ! -f /etc/apt/sources.list.d/plexmediaserver.list ]] \
&& [[ ! -f /etc/apt/sources.list.d/plexmediaserver.sources ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi