plex: prevent [] syntax issue (#9318)

This commit is contained in:
CanbiZ authored and GitHub committed 2025-11-21 15:34:04 +01:00
1 parent bda9286043
commit 29ee6cdff3
1 file changed
+2 -1
+2 -1
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