mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 05:59:45 -05:00
Patch from Ian Burrell to move plugins from sysconfdit to libdir, as it Should Be
This commit is contained in:
@@ -7,12 +7,13 @@ EXTRA_DIST = README mt-daapd.spec mt-daapd.conf.templ mt-daapd-ssc.sh mt-daapd-s
|
||||
BUILT_SOURCES = mt-daapd.conf
|
||||
bin_SCRIPTS = mt-daapd-ssc.sh
|
||||
|
||||
dbdir="/var/cache/mt-daapd"
|
||||
dbdir="$(localstatedir)/cache/mt-daapd"
|
||||
|
||||
mt-daapd.conf: mt-daapd.conf.templ ../config.h
|
||||
if [ "$(prefix)" = "/usr" ]; then \
|
||||
sed -e s,[@]prefix[@],$(prefix),g -e s,[@]dbdir[@],/var/cache/mt-daapd,g mt-daapd.conf.templ >$@; \
|
||||
else \
|
||||
sed -e s,[@]prefix[@],$(prefix),g -e s,[@]dbdir[@],$(prefix)/var/cache/mt-daapd,g mt-daapd.conf.templ >$@; \
|
||||
fi
|
||||
sed -e s,[@]prefix[@],$(prefix), \
|
||||
-e s,[@]sysconfdir[@],$(sysconfdir), \
|
||||
-e s,[@]libdir[@],$(libdir), \
|
||||
-e s,[@]dbdir[@],$(dbdir),g mt-daapd.conf.templ >$@
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ runas = nobody
|
||||
# below.
|
||||
#
|
||||
|
||||
playlist = @prefix@/etc/mt-daapd.playlist
|
||||
playlist = @sysconfdir@/mt-daapd.playlist
|
||||
|
||||
#
|
||||
# password (optional)
|
||||
@@ -295,6 +295,6 @@ scan_type = 2
|
||||
#compress = 0
|
||||
|
||||
[plugins]
|
||||
plugin_dir = @prefix@/share/mt-daapd/plugins
|
||||
plugin_dir = @libdir@/mt-daapd/plugins
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user