Bug#286689: patch available

Andreas Barth Andreas Barth <aba@not.so.argh.org>, 286689@bugs.debian.org
Tue, 21 Dec 2004 17:41:46 +0100


tags 286689 + patch
thanks

Well, as just discussed on IRC, the if-statement in postrm should be
something like
  if [ "$1" = "remove" ] && [ -x /usr/sbin/update-gdkpixbuf-loaders ];
(or, as alternative, the call should be with an added || true - but
that's probably worse).

17:28 < aba> | /var/lib/dpkg/info/librsvg2-common.postrm: line 6: /usr/sbin/update-gdkpixbuf-loaders: No such file or directory
17:29 < aba> if [ "$1" = "remove" ]; then
17:29 < aba>     /usr/sbin/update-gdkpixbuf-loaders
17:29 < aba> fi
17:29 < HE> aba: Naja, entweder ein if drum oder Pre-Depends libgtk2.0-bin.
17:29 < aba> naja, und die Datei ist halt nicht da.
17:29 < aba> genau.
17:30 < HE> [Wobei (1) deutlich mehr Sinn macht)
17:30 < aba> oder einfach: if [ "$1" = "remove" ] && [ -x /usr/sbin/update-gdkpixbuf-loaders ]; then
17:30 < HE> aba: Sagte ich doch. if.


Cheers,
Andi
-- 
   http://home.arcor.de/andreas-barth/
   PGP 1024/89FB5CE5  DC F1 85 6D A6 45 9C 0F  3B BE F1 D0 C5 D1 D9 0C