diff --git a/fonts-config b/fonts-config index 37a6f37..af0ae31 100644 --- a/fonts-config +++ b/fonts-config @@ -573,6 +573,11 @@ if ($xset_bin) { } } +if (!$checkproc_bin || !$killproc_bin) { + print "This script needs checkproc and killproc installed to function\n"; + exit 1; +} + if ($xfs_bin && my_system ("$checkproc_bin $xfs_bin") == 0) { if ($VERBOSITY >= $VERBOSITY_DEBUG) { print "Reloading config file of X Font Server ...\n"; diff --git a/fonts-config.changes b/fonts-config.changes index 8c56a4e..2343b38 100644 --- a/fonts-config.changes +++ b/fonts-config.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 17 08:44:38 UTC 2012 - coolo@suse.com + +- the script requires checkproc and killproc, otherwise it will start + a xfs in buildroot (oops) + ------------------------------------------------------------------- Tue Aug 28 14:18:59 UTC 2012 - pgajdos@suse.com diff --git a/fonts-config.spec b/fonts-config.spec index 78d6739..88c667f 100644 --- a/fonts-config.spec +++ b/fonts-config.spec @@ -32,6 +32,7 @@ Source8: suse-font-dirs.conf.template BuildRequires: fontconfig BuildRequires: fontpackages-devel Requires(pre): %fillup_prereq +Requires(pre): sysvinit-tools Requires: fontconfig >= 2.3.93.20060103 Requires: perl(English) Recommends: ft2demos