Skip to content

Commit

Permalink
Merge pull request automatic-ripping-machine#986 from fizbin/fix_bad_…
Browse files Browse the repository at this point in the history
…ln_sf

Fix bad use of "ln -sf"
  • Loading branch information
microtechno9000 authored Dec 4, 2023
2 parents bd940a3 + 8a978f2 commit 1019e69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/docker/runit/arm_user_files_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,6 @@ ln -sf /etc/arm/config/abcde.conf /etc/abcde.conf
chown arm:arm /etc/abcde.conf /etc/arm/config/abcde.conf

# symlink $ARM_HOME/Music to $ARM_HOME/music because the config for abcde doesn't match the docker compose docs
ln -sf $ARM_HOME/Music $ARM_HOME/music
# separate rm and ln commands because "ln -sf" does the wrong thing if dest is a symlink to a directory
rm -f $ARM_HOME/music
ln -s $ARM_HOME/Music $ARM_HOME/music

0 comments on commit 1019e69

Please sign in to comment.