[arch-commits] Commit in xorg-mkfontdir/trunk (PKGBUILD xorg-mkfontdir.install)
Jan Steffens
heftig at archlinux.org
Tue Jul 17 16:29:41 UTC 2018
Date: Tuesday, July 17, 2018 @ 16:29:40
Author: heftig
Revision: 328886
FS#53563: Don't touch encodings/ to avoid deleting encodings.dir
Modified:
xorg-mkfontdir/trunk/PKGBUILD
xorg-mkfontdir/trunk/xorg-mkfontdir.install
------------------------+
PKGBUILD | 2 +-
xorg-mkfontdir.install | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-17 15:50:43 UTC (rev 328885)
+++ PKGBUILD 2018-07-17 16:29:40 UTC (rev 328886)
@@ -3,7 +3,7 @@
pkgname=xorg-mkfontdir
pkgver=1.0.7
-pkgrel=8
+pkgrel=9
pkgdesc="Create an index of X font files in a directory"
arch=(any)
url="https://xorg.freedesktop.org/"
Modified: xorg-mkfontdir.install
===================================================================
--- xorg-mkfontdir.install 2018-07-17 15:50:43 UTC (rev 328885)
+++ xorg-mkfontdir.install 2018-07-17 16:29:40 UTC (rev 328886)
@@ -1,8 +1,8 @@
post_install() {
if [[ -d /usr/share/fonts ]]; then
echo -n "Creating X fontdir indices..."
- find /usr/share/fonts -mindepth 1 -type d -printf '%p/\n' |
- /usr/share/libalpm/scripts/xorg-mkfontdir
+ find /usr/share/fonts -mindepth 1 -path /usr/share/fonts/encodings -prune \
+ -o -type d -printf '%p/\n' | /usr/share/libalpm/scripts/xorg-mkfontdir
echo " done."
fi
}
More information about the arch-commits
mailing list