]> git.pld-linux.org Git - packages/fontpostinst.git/commitdiff
- some syntax errors fixed
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 3 Jun 2003 20:56:49 +0000 (20:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- noarch
- release 3

Changed files:
    fontpostinst -> 1.4
    fontpostinst.spec -> 1.4

fontpostinst
fontpostinst.spec

index a20fe4a38214119427160e99f43bc3b045bb9348..a93561323ed230e7a39a531b4d56e54a592993ab 100644 (file)
@@ -72,12 +72,12 @@ case "$FTYPE" in
        ;;
     Type1)
        rm -f fonts.scale.bak Fontmap.bak
-       if "`echo fonts.scale.*`" != 'fonts.scale.*' ]; then
+       if "`echo fonts.scale.*`" != 'fonts.scale.*' ]; then
                cat fonts.scale.* 2>/dev/null | LC_ALL=C sort -u > fonts.scale.tmp
                cat fonts.scale.tmp | wc -l | tr -d ' ' > fonts.scale
                cat fonts.scale.tmp >> fonts.scale
                rm -f fonts.scale.tmp
-       else if [ "`echo *.pf[ab]`" != '*.pf[ab]' ]; then
+       elif [ "`echo *.pf[ab]`" != '*.pf[ab]' ]; then
                # no hints - try to generate
                if [ -x $MKFONTSCALEBIN ]; then
                        $MKFONTSCALE
@@ -93,7 +93,7 @@ case "$FTYPE" in
        elif [ -x $XFTCACHEBIN ]; then
                $XFTCACHE
        fi
-       if "`echo Fontmap.*`" != 'Fontmap.*' ]; then
+       if "`echo Fontmap.*`" != 'Fontmap.*' ]; then
                cat Fontmap.* > Fontmap
        elif [ -f Fontmap ]; then
                mv -f Fontmap Fontmap-save
@@ -103,7 +103,7 @@ case "$FTYPE" in
        fi
        ;;
     CID|Speedo)
-       if "`echo fonts.scale.*`" != 'fonts.scale.*' ]; then
+       if "`echo fonts.scale.*`" != 'fonts.scale.*' ]; then
                cat fonts.scale.* 2>/dev/null | LC_ALL=C sort -u > fonts.scale.tmp
                cat fonts.scale.tmp | wc -l | tr -d ' ' > fonts.scale
                cat fonts.scale.tmp >> fonts.scale
@@ -114,6 +114,7 @@ case "$FTYPE" in
        if [ -x $MKFONTDIRBIN ]; then
                $MKFONTDIR
        fi
+       ;;
     misc)
        # special case - fonts needed for X server to start
        if [ -x $MKFONTDIRBIN ]; then
index af5ccc277d497b41e65c5704e5a7b99819d17232..bf151ea0b5c9dba5346d4c30f45ed363d12fc73c 100644 (file)
@@ -2,12 +2,13 @@ Summary:      Font post (un)installation script
 Summary(pl):   Skrypt po(de)instalacyjny dla fontów
 Name:          fontpostinst
 Version:       0.1
-Release:       2
+Release:       3
 License:       Free
 Group:         Applications/System
 Source0:       %{name}
 Requires:      fileutils
 Requires:      textutils
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
This page took 0.15885 seconds and 4 git commands to generate.