1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/audio/musicpd/pkg-plist
Chris Rees eae6035f80 audio/musicpd: Update to 0.17.3
Take out the compatibility shims for people who redefined MPDCONF-- they've
had enough warning.  Error out with some helpful hints if people still haven't
moved to using musicpd.conf
2013-04-30 20:48:02 +00:00

7 lines
338 B
Plaintext

bin/musicpd
@unexec if cmp -s %D/etc/musicpd.conf.sample %D/etc/musicpd.conf; then rm -f %D/etc/musicpd.conf; fi
etc/musicpd.conf.sample
@exec if [ ! -f %B/musicpd.conf ] ; then cp -p %D/%F %B/musicpd.conf; fi
@exec install -d -o %%MPDUSER%% -g %%MPDGROUP%% %%MPDDIR%% %%MPDDIR%%/.mpd
@unexec rmdir -p %%MPDDIR%%/.mpd 2>/dev/null || true