Ben Hutchings wrote: > How about: > > --- debian/postinst~ 2005-08-18 16:48:31.000000000 +0100 > +++ debian/postinst 2006-04-13 21:58:19.076626250 +0100 > @@ -17,15 +17,15 @@ > echo creating $APTPROXY_USER user... > adduser --quiet --system --ingroup nogroup \ > --home $CACHEDIR --no-create-home $APTPROXY_USER > - > - # Make apt-proxy user own cache directory > - chown -R $APTPROXY_USER $CACHEDIR > - # Create a blank logfile owned by apt-proxy user > - touch $APTPROXY_LOGFILE > - chown $APTPROXY_USER:adm $APTPROXY_LOGFILE > - chmod 640 $APTPROXY_LOGFILE > fi > > + # Make apt-proxy user own cache directory > + chown -R $APTPROXY_USER $CACHEDIR > + # Create a blank logfile owned by apt-proxy user > + touch $APTPROXY_LOGFILE > + chown $APTPROXY_USER:adm $APTPROXY_LOGFILE > + chmod 640 $APTPROXY_LOGFILE > + > PREV="$2" > db_fget $NAME/upgrading-v2 had_v2_conf || true > had_v2_conf=$RET > -- END --
That looks like it would do the trick to me. Thanks -- Matt Brown [EMAIL PROTECTED] Mob +64 21 611 544 www.mattb.net.nz
signature.asc
Description: OpenPGP digital signature