From 49d310cce827918b0e952679f53b7a8dbbd4099c Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Wed, 10 Dec 2003 16:45:13 +0000 Subject: [PATCH] - exit if cd fails (otherwise font-cache files could be placed in whole filesystem) Changed files: fontpostinst -> 1.8 --- fontpostinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fontpostinst b/fontpostinst index 54e662e..fc381ad 100644 --- a/fontpostinst +++ b/fontpostinst @@ -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 -- 2.43.0