Compare commits

...

1 Commits

Author SHA1 Message Date
CanbiZ
cca8910f79 plex: prevent [] syntax issue 2025-11-20 23:11:41 +01:00

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