Bug#797381: tex-common: postinst tries to create a temporary file in /
Hi Robert,
thanks for the report, indeed indeed ...
> The comments in update-updmap before the line 252 suggests that the file
> should be created in the directory created in the line 234 instead, but
> the script does not switch to the directory.
Can you check wether the following simple change around line 234
works: The areas should look like:
# create output dir in any case ...
destdir=$(dirname $output_file)
mkdir -p "$destdir"
cd "$destdir"
As diff:
--- a/scripts/update-tl-stacked-conffile
+++ b/scripts/update-tl-stacked-conffile
@@ -231,7 +231,9 @@ for tree in $COMPONENTS ; do
fi
# create output dir in any case ...
- mkdir -p $(dirname $output_file)
+ destdir=$(dirname $output_file)
+ mkdir -p "$destdir"
+ cd "$destdir"
#
if [ $quiet = 0 ]; then
Thanks
Norbert
------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------
Reply to: