summaryrefslogtreecommitdiff
path: root/packages/qpf-fonts/qpf.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/qpf-fonts/qpf.inc')
-rw-r--r--packages/qpf-fonts/qpf.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/qpf-fonts/qpf.inc b/packages/qpf-fonts/qpf.inc
index 67761bd4be..7597b436be 100644
--- a/packages/qpf-fonts/qpf.inc
+++ b/packages/qpf-fonts/qpf.inc
@@ -1,4 +1,4 @@
-PACKAGE_ARCH = "all"
+RDEPENDS = "font-update-common qte-fonts-common"
do_configure() {
:
@@ -9,13 +9,11 @@ do_compile() {
}
pkg_postinst_fonts() {
-. /etc/profile
-${sbindir}/update-qtfontdir
+ update-fonts
}
pkg_postrm_fonts() {
-. /etc/profile
-${sbindir}/update-qtfontdir -f
+ update-fonts
}
python populate_packages_prepend() {
@@ -30,3 +28,5 @@ python populate_packages_prepend() {
description=pkgdescription, postinst=postinst, postrm=postrm, recursive=True, hook=None,
extra_depends='qpf-font-common')
}
+
+PACKAGE_ARCH = "all"