fontconfig: dont create fontcache on reboot. please revert this if its still needed

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2013-09-01 22:18:01 +02:00
parent 666529412e
commit 5a6ca03e32
3 changed files with 0 additions and 39 deletions

View File

@ -59,7 +59,3 @@ post_makeinstall_target() {
rm -rf $INSTALL/usr/bin/fc-scan
rm -rf $INSTALL/usr/bin/fc-validate
}
post_install() {
enable_service fc-cache.service
}

View File

@ -1,14 +0,0 @@
[Unit]
Description=Fontconfig caching
ConditionPathExists=|!/storage/.cache/fontconfig/CACHEDIR.TAG
After=local-fs.target
Before=graphical.target
[Service]
Type=oneshot
# TODO: add /storage/.xbmc/media/Fonts to $FC_CACHE_DIRS ?
ExecStart=/usr/bin/fc-cache /usr/share/fonts/ /usr/share/xbmc/media/Fonts/
RemainAfterExit=yes
[Install]
WantedBy=graphical.target

View File

@ -1,21 +0,0 @@
################################################################################
# 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 - -