encodings: fix absolute paths in INSTALL/REMOVE scripts

This commit is contained in:
maxice8 2018-08-26 16:18:03 -03:00
parent 08a09917cd
commit cd4926b97c
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
2 changed files with 3 additions and 3 deletions

View file

@ -1,8 +1,8 @@
case "$ACTION" in case "$ACTION" in
post) post)
cd usr/share/fonts/X11/encodings/large cd usr/share/fonts/X11/encodings/large
mkfontscale -b -s -l -n -r -p /usr/share/fonts/X11/encodings/large -e . . mkfontscale -b -s -l -n -r -p usr/share/fonts/X11/encodings/large -e . .
cd .. cd ..
mkfontscale -b -s -l -n -r -p /usr/share/fonts/X11/encodings -e . -e large . mkfontscale -b -s -l -n -r -p usr/share/fonts/X11/encodings -e . -e large .
;; ;;
esac esac

View file

@ -1,7 +1,7 @@
# Template build file for 'encodings'. # Template build file for 'encodings'.
pkgname=encodings pkgname=encodings
version=1.0.4 version=1.0.4
revision=5 revision=6
noarch=yes noarch=yes
build_style=gnu-configure build_style=gnu-configure
hostmakedepends="pkg-config font-util" hostmakedepends="pkg-config font-util"