plex: allow the dataDir to contain spaces by quoting the path

This commit is contained in:
Wael M. Nasreddine 2018-09-30 11:13:25 -07:00
parent 89727b3c9a
commit ef0b280751
No known key found for this signature in database
GPG Key ID: 82AE0A31B33CEFCF

View File

@ -65,7 +65,7 @@ in stdenv.mkDerivation rec {
RSC=$out/usr/lib/plexmediaserver/Resources
for db in "com.plexapp.plugins.library.db"; do
mv $RSC/$db $RSC/base_$db
ln -s ${dataDir}/.skeleton/$db $RSC/$db
ln -s "${dataDir}/.skeleton/$db" $RSC/$db
done
'';