mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
eae6035f80
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
7 lines
338 B
Plaintext
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
|