]> git.pld-linux.org Git - packages/fontpostinst.git/blobdiff - fontpostinst
- exit if cd fails (otherwise font-cache files could be placed in whole filesystem)
[packages/fontpostinst.git] / 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.05339 seconds and 4 git commands to generate.