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
6 lines
338 B
Text
6 lines
338 B
Text
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
|