Skip to content

Commit

Permalink
Merge pull request #33 from zebrapurring/fix-root-detect
Browse files Browse the repository at this point in the history
Fix root user detection
  • Loading branch information
zebrapurring authored Dec 20, 2024
2 parents f4db5c6 + 2a85292 commit 17fb9ba
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 17fb9ba

Please sign in to comment.