Remove accidential changes

This commit is contained in:
Dmitry Marchuk
2026-06-07 08:07:02 +03:00
parent 8f6e083420
commit 51dd890eb6
2 changed files with 15 additions and 8 deletions
Executable → Regular
+2 -6
View File
@@ -13,12 +13,8 @@ fi
# Frigate normal container runs as root, so it have permission to create
# the folders. But the devcontainer runs as the host user, so we need to
# create the folders and give the host user permission to write to them.
SUDO=""
if [[ $EUID -ne 0 ]]; then
SUDO="sudo"
fi
$SUDO mkdir -p /media/frigate
$SUDO chown -R "$(id -u):$(id -g)" /media/frigate
sudo mkdir -p /media/frigate
sudo chown -R "$(id -u):$(id -g)" /media/frigate
# When started as a service, LIBAVFORMAT_VERSION_MAJOR is defined in the
# s6 service file. For dev, where frigate is started from an interactive