/tmp
This commit is contained in:
parent
d50b2028c4
commit
a21a4b91ca
1 changed files with 6 additions and 10 deletions
|
@ -29,8 +29,8 @@ VERSION=${VERSION:-$(ls /usr/doc/ | grep terminus-font | rev | cut -d- -f1 | rev
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-gwh}
|
TAG=${TAG:-gwh}
|
||||||
|
|
||||||
TMP=${TMP:-/tmp/$TAG}
|
TMP=${TMP:-/tmp}
|
||||||
PKG=$TMP/package-$PKGNAM
|
PKG=$TMP/$TAG/package-$PKGNAM
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
|
|
||||||
|
@ -63,8 +63,8 @@ $PKGNAM:
|
||||||
$PKGNAM:
|
$PKGNAM:
|
||||||
$PKGNAM:
|
$PKGNAM:
|
||||||
$PKGNAM:
|
$PKGNAM:
|
||||||
$PKGNAM: Homepage: http://$PKGNAM.sourceforge.net
|
$PKGNAM: Homepage: http://terminus-font.sourceforge.net
|
||||||
$PKGNAM: https://github.com/archlinux/svntogit-community/tree/packages/terminus-font-otb/trunk
|
$PKGNAM:
|
||||||
$PKGNAM:
|
$PKGNAM:
|
||||||
$PKGNAM:
|
$PKGNAM:
|
||||||
EOF
|
EOF
|
||||||
|
@ -72,12 +72,8 @@ EOF
|
||||||
cat <<EOF > $PKG/install/doinst.sh
|
cat <<EOF > $PKG/install/doinst.sh
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Update the X font indexes:
|
# Update the X font indexes:
|
||||||
if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
|
[ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ] && mkfontdir /usr/share/fonts/misc 2> /dev/null
|
||||||
mkfontdir usr/share/fonts/misc 2> /dev/null
|
[ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache -f 2> /dev/null
|
||||||
fi
|
|
||||||
if [ -x /usr/bin/fc-cache ]; then
|
|
||||||
/usr/bin/fc-cache -f 2> /dev/null
|
|
||||||
fi
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
|
|
Loading…
Reference in a new issue