Opened 9 years ago
Last modified 8 years ago
#49605 new enhancement
mpd will not install if /opt/local/var/lib/mpd/music is a symlink to my music — at Version 1
Reported by: | bnilsson11 | Owned by: | rmstonecipher@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | mpd |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
After a successful installation of mpd, the easiest way to introduce the music library is replace /opt/local/var/lib/mpd/music with a symlink to your existing music library:
user $ cd /opt/local/var/lib/mpd user $ ls -la total 816 drwxrwxrwx 8 root admin 272 26 Sep 17:39 . drwxr-xr-x 5 root admin 170 6 Nov 02:33 .. -rw-r--r--@ 1 user admin 6148 22 Feb 2015 .DS_Store -rwxrwxrwx 1 user admin 397023 16 Okt 22:43 database drwxr-xr-x 4 user admin 136 22 Feb 2015 hide lrwxr-xr-x 1 user admin 19 26 Sep 17:38 music -> /Volumes/htpc/Musik lrwxr-xr-x 1 user admin 29 26 Sep 17:39 playlists -> /Volumes/htpc/Musik/Playlists -rw-r--r-- 1 avahi admin 581 16 Feb 2015 state
If mpd is upgraded or re-installed, the installation fails because "music" and "playlists" symlinks cannot be overwritten. I need to manually remove the symlinks and try again. After installation I need to replace music and playlists with symlinks again.
Life would be much easier if the installation/upgrade procedure would be more tolerant and check the status of these directories, and don't overwrite if they exist or if they are not writeable. The install/upgrade would then be more straight forward and transparent.
Change History (1)
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to rmstonecipher@… |
Note: See
TracTickets for help on using
tickets.