Use variables in export.

This commit is contained in:
SergeantPanda 2025-05-12 09:10:38 -05:00
parent b85a5be023
commit 8dd3bd6878

View file

@ -82,9 +82,9 @@ if [[ ! -f /etc/profile.d/dispatcharr.sh ]]; then
echo "export DISPATCHARR_PORT=$DISPATCHARR_PORT" >> /etc/profile.d/dispatcharr.sh
echo "export DISPATCHARR_VERSION=$DISPATCHARR_VERSION" >> /etc/profile.d/dispatcharr.sh
echo "export DISPATCHARR_TIMESTAMP=$DISPATCHARR_TIMESTAMP" >> /etc/profile.d/dispatcharr.sh
echo "export LIBVA_DRIVERS_PATH=/usr/local/lib/x86_64-linux-gnu/dri" >> /etc/profile.d/dispatcharr.sh
echo "export LIBVA_DRIVERS_PATH=$LIBVA_DRIVERS_PATH" >> /etc/profile.d/dispatcharr.sh
echo "export LIBVA_DRIVER_NAME=$LIBVA_DRIVER_NAME" >> /etc/profile.d/dispatcharr.sh
echo "export LD_LIBRARY_PATH=/usr/local/lib" >> /etc/profile.d/dispatcharr.sh
echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> /etc/profile.d/dispatcharr.sh
# Make sure we also set these variables in /etc/environment
# which is sourced even before /etc/profile.d scripts