From 8c405bf55bb7763bf81f9b98b76cb70962ae4082 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 3 Jan 2020 18:49:41 -0500 Subject: graphics/psftools: Add comments about former doinst.sh. Signed-off-by: B. Watson --- graphics/psftools/psftools.SlackBuild | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'graphics') diff --git a/graphics/psftools/psftools.SlackBuild b/graphics/psftools/psftools.SlackBuild index 026c75ae1029..1282dff0d170 100644 --- a/graphics/psftools/psftools.SlackBuild +++ b/graphics/psftools/psftools.SlackBuild @@ -120,5 +120,17 @@ cat $CWD/slack-desc > $PKG/install/slack-desc # X fonts would need this: ## cat $CWD/doinst.sh > $PKG/install/doinst.sh +# Contents of doinst.sh would be: +## # Update the X font indexes: +## if [ -x /usr/bin/mkfontdir -a -x /usr/bin/mkfontscale ]; then +## ( cd usr/share/fonts/misc +## /usr/bin/mkfontscale . +## /usr/bin/mkfontdir . +## ) +## fi +## if [ -x /usr/bin/fc-cache ]; then +## /usr/bin/fc-cache -f +## fi + cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} -- cgit v1.2.3