mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/oldschool-pc-fonts: Add douninst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
c18329b573
commit
a11b4ebfde
2 changed files with 7 additions and 1 deletions
|
@ -9,6 +9,9 @@ if [ -x /usr/bin/mkfontdir -a -x /usr/bin/mkfontscale ]; then
|
|||
/usr/bin/mkfontdir .
|
||||
)
|
||||
fi
|
||||
|
||||
[ "$DISPLAY" != "" ] && xset fp rehash 2>/dev/null
|
||||
|
||||
if [ -x /usr/bin/fc-cache ]; then
|
||||
/usr/bin/fc-cache -f
|
||||
fi
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
|
||||
# Now maintained by B. Watson <urchlay@slackware.uk>
|
||||
|
||||
# 20230307 bkw: BUILD=2, add douninst.sh.
|
||||
|
||||
# 20201207 bkw:
|
||||
# - Update for v2.2. Enough changes that we can't build the old version with
|
||||
# the modified script.
|
||||
|
@ -42,7 +44,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=oldschool-pc-fonts
|
||||
VERSION=${VERSION:-2.2}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -138,6 +140,7 @@ sed "s,@TYPE@,$TYPE," $CWD/slack-desc > $PKG/install/slack-desc
|
|||
# actually included.
|
||||
if [ "$TTF" = "yes" ]; then
|
||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
cp $PKG/install/doinst.sh $PKG/install/douninst.sh
|
||||
fi
|
||||
|
||||
cd $PKG
|
||||
|
|
Loading…
Reference in a new issue