[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#294197: upgrading tetex creates ls-R in user homedir if sudo is used



Hello Frank,

Frank Kster wrote:
> you can use sudo's option -H.
Yes, I know this option, but I use it hardly ever.  And so only in the
rarest cases I think to use it to upgrade tex.

> Hm. unsetting HOME in postinst's environment could relieve you from this
> inconvenience. But I don't know which other effects it could have. 
In my opinon, a {post,pre}{install,remove} script should never do
anything in $HOME, be it mine or root's and regardless of having called
texhash/mktexlsr or not.

Regards
Uwe

-- 
Uwe Zeisberger

fib where fib = 0 : 1 : zipWith (+) fib (tail fib)

Attachment: signature.asc
Description: Digital signature


Reply to: