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

Re: Fixed in NMU of tetex-bin 1.0.7+20011202-3.2



I think you break it this way. If anybody uses dpkg-statoverride to
change the permissions dpkg would reset it on the next update.

Am Son, 2002-03-03 um 11.42 schrieb LaMont Jones:
> > Can you please check with http://cvs.debian.org/tetex-bin/?cvsroot=3Dtetex
> > if you did the same changes like the ones in the current cvs version I
> > just prepare to release?
> 
> Actually, the patch from the diff is defective (and hence the -3.3 upload).
> 
> The following diff does things correctly.
> 
> lamont
> =====================================================================
> diff -ur t/tetex-bin-1.0.7+20011202/debian/postinst tetex-bin-1.0.7+20011202/debian/postinst
> --- t/tetex-bin-1.0.7+20011202/debian/postinst	Sun Mar  3 03:41:00 2002
> +++ tetex-bin-1.0.7+20011202/debian/postinst	Sat Mar  2 17:25:57 2002
> @@ -104,6 +104,12 @@
>  update-alternatives --install /usr/bin/xdvi.bin xdvi.bin /usr/bin/xdvi.real 30
>  update-alternatives --install /usr/bin/oxdvi.bin oxdvi.bin /usr/bin/oxdvi.real 30
>  
> +dpkg-statoverride --remove /var/spool/texmf/pk >/dev/null 2>&1 || true
> +dpkg-statoverride --remove /var/spool/texmf/source >/dev/null 2>&1 || true
> +dpkg-statoverride --remove /var/spool/texmf/tfm >/dev/null 2>&1 || true
> +dpkg-statoverride --update --add root root 01777 /var/spool/texmf/pk
> +dpkg-statoverride --update --add root root 01777 /var/spool/texmf/source
> +dpkg-statoverride --update --add root root 01777 /var/spool/texmf/tfm
>  
>  echo
>  echo If you want to change the default settings,
> diff -ur t/tetex-bin-1.0.7+20011202/debian/postrm tetex-bin-1.0.7+20011202/debian/postrm
> --- t/tetex-bin-1.0.7+20011202/debian/postrm	Sun Mar  3 03:41:00 2002
> +++ tetex-bin-1.0.7+20011202/debian/postrm	Sat Mar  2 17:27:58 2002
> @@ -12,4 +12,10 @@
>  
>  rm -f /usr/lib/texmf/web2c /usr/share/texmf/web2c || true
>  
> +if [ $1 = "remove" ]; then
> +    dpkg-statoverride --remove /var/spool/texmf/pk >/dev/null 2>&1 || true
> +    dpkg-statoverride --remove /var/spool/texmf/source >/dev/null 2>&1 || true
> +    dpkg-statoverride --remove /var/spool/texmf/tfm >/dev/null 2>&1 || true
> +fi
> +
>  #DEBHELPER#
> =====================================================================
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-tetex-maint-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Reply to: