diff --git a/packages/x11/other/fontconfig/init.d/35_fontconfig b/packages/x11/other/fontconfig/init.d/35_fontconfig index 6b3ea3011c..8197696a8d 100644 --- a/packages/x11/other/fontconfig/init.d/35_fontconfig +++ b/packages/x11/other/fontconfig/init.d/35_fontconfig @@ -37,7 +37,6 @@ FC_CACHE_DIRS="/usr/share/fonts/ /usr/share/xbmc/media/Fonts/" ( progress "Creating fontconfig cache" if [ ! -f /storage/.cache/fontconfig/CACHEDIR.TAG ]; then - mkdir -p /storage/.cache/fontconfig fc-cache $FC_CACHE_DIRS fi )& diff --git a/packages/x11/other/fontconfig/tmpfiles.d/35_fontconfig.conf b/packages/x11/other/fontconfig/tmpfiles.d/35_fontconfig.conf new file mode 100644 index 0000000000..0baa588bbe --- /dev/null +++ b/packages/x11/other/fontconfig/tmpfiles.d/35_fontconfig.conf @@ -0,0 +1,21 @@ +################################################################################ +# This file is part of OpenELEC - http://www.openelec.tv +# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv) +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +d /storage/.cache/fontconfig 0755 root root - -