]> git.pld-linux.org Git - packages/fontpostinst.git/commitdiff
- exit if cd fails (otherwise font-cache files could be placed in whole filesystem)
authorJacek Konieczny <jajcus@pld-linux.org>
Wed, 10 Dec 2003 16:45:13 +0000 (16:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fontpostinst -> 1.8

fontpostinst

index 54e662e8edfa1b4199886278a4366771823d4a6c..fc381adcc5513d16efa22de62b91ed22ce0196b4 100644 (file)
@@ -61,7 +61,7 @@ else
 fi
 
 umask 022
-cd "$FDIR"
+cd "$FDIR" || exit $?
 if [ "`echo fonts.alias.*`" != 'fonts.alias.*' ]; then
        cat fonts.alias.* | LC_ALL=C sort -u > fonts.alias
 elif [ -f fonts.alias ]; then
This page took 0.063078 seconds and 4 git commands to generate.