PhotoPrism: export env variables for CLI tools (#10023)

This commit is contained in:
CanbiZ
2025-12-16 11:48:35 +01:00
committed by GitHub
parent 7b55077a00
commit b524cbe232
2 changed files with 9 additions and 0 deletions

View File

@@ -28,6 +28,8 @@ $STD apt install -y \
lsb-release
echo 'export PATH=/usr/local:$PATH' >>~/.bashrc
echo '# Load PhotoPrism environment variables for CLI tools' >>~/.bashrc
echo 'export $(grep -v "^#" /opt/photoprism/config/.env | xargs)' >>~/.bashrc
export PATH=/usr/local:$PATH
msg_ok "Installed Dependencies"