[MacPorts] #49605: mpd will not install if /opt/local/var/lib/mpd/music is a symlink to my music
MacPorts
noreply at macports.org
Fri Nov 6 01:17:54 PST 2015
#49605: mpd will not install if /opt/local/var/lib/mpd/music is a symlink to my
music
--------------------------+--------------------------------
Reporter: bnilsson11@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port: mpd
--------------------------+--------------------------------
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 [[br]]
user $ ls -la [[br]]
total 816 [[br]]
drwxrwxrwx 8 root admin 272 26 Sep 17:39 . [[br]]
drwxr-xr-x 5 root admin 170 6 Nov 02:33 .. [[br]]
-rw-r--r--@ 1 user admin 6148 22 Feb 2015 .DS_Store [[br]]
-rwxrwxrwx 1 user admin 397023 16 Okt 22:43 database [[br]]
drwxr-xr-x 4 user admin 136 22 Feb 2015 hide [[br]]
lrwxr-xr-x 1 user admin 19 26 Sep 17:38 music ->
/Volumes/htpc/Musik [[br]]
lrwxr-xr-x 1 user admin 29 26 Sep 17:39 playlists ->
/Volumes/htpc/Musik/Playlists [[br]]
-rw-r--r-- 1 avahi admin 581 16 Feb 2015 state [[br]]
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.
--
Ticket URL: <https://trac.macports.org/ticket/49605>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list