Skip to content

Commit

Permalink
Fix root user detection
Browse files Browse the repository at this point in the history
  • Loading branch information
zebrapurring committed Dec 20, 2024
1 parent f4db5c6 commit 2a85292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/installdependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -eux
echo "INFO: install dependencies"

# Install root dependencies
if [ "$USER" = "root" ]; then
if [ "$(whoami)" = "root" ]; then
mkdir -p "$IMMICH_BIN_DIR"

# Install custom ffmpeg build jellyfin-ffmpeg
Expand Down

0 comments on commit 2a85292

Please sign in to comment.