Package: midori
Version: 0.4.3-1
Severity: minor
Tags: patch
Installing midori produces the following spurious error message. It
is innocuous but disconcerting nonetheless.
Setting up midori (0.4.3-1) ...
rmdir: failed to remove `/etc/xdg/midori/extensions/libadblock.so': No such
file or directory
This is of course due to the postinst script.
dpkg-maintscript-helper mv_conffile \
/etc/xdg/midori/extensions/libadblock.so/config \
/etc/xdg/midori/extensions/adblock/config \
0.4.1-2 midori -- "$@"
rmdir /etc/xdg/midori/extensions/libadblock.so || true
There are a variety of methods that would avoid the error. This
following is one way to avoid the error message and also avoid the
need to ignore the error code return from rmdir. Better not to ignore
errors. Ignoring the error is itself a problem. Better to
dynamically do the right thing.
dpkg-maintscript-helper mv_conffile \
/etc/xdg/midori/extensions/libadblock.so/config \
/etc/xdg/midori/extensions/adblock/config \
0.4.1-2 midori -- "$@"
test -d /etc/xdg/midori/extensions/libadblock.so &&
rmdir /etc/xdg/midori/extensions/libadblock.so
Thank you for maintaining midori!
Bob
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]