aboutsummaryrefslogtreecommitdiff
path: root/system/univga-font/univga-font.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2019-12-24 09:18:59 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-31 18:06:24 +0700
commitdcc93ee3c92bcff39afcf54395f8b1d87b04968a (patch)
treed0fd7d1e7f87eff1456f59e6d9a4227b157037ed /system/univga-font/univga-font.SlackBuild
parent481e2b420144a388d6548c4867175340ceb0cf63 (diff)
downloadslackbuilds-dcc93ee3c92bcff39afcf54395f8b1d87b04968a.tar.xz
system/univga-font: Update doinst.sh.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/univga-font/univga-font.SlackBuild')
-rw-r--r--system/univga-font/univga-font.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/system/univga-font/univga-font.SlackBuild b/system/univga-font/univga-font.SlackBuild
index 8a4f44caa049..2cd2cb84e7ce 100644
--- a/system/univga-font/univga-font.SlackBuild
+++ b/system/univga-font/univga-font.SlackBuild
@@ -8,9 +8,11 @@
# VERSION taken from the datestamp of the tarball.
+# 20191224 bkw: BUILD=2, xset fp rehash in doinst.sh.
+
PRGNAM=univga-font
VERSION=${VERSION:-20021031}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -32,11 +34,8 @@ rm -rf $DIRNAME
tar xvf $CWD/$TARNAME.tgz
cd $DIRNAME
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# modern perl needs a slight change to the bdf2psf.pl script, and modern
# psfaddtable has different options than whatever this was written for.