[Pkg-allegro-maintainers] Bug#375142: rafkill: "not a directory" during postinst configure

Justin Pryzby justinpryzby at users.sourceforge.net
Fri Jun 23 18:34:57 UTC 2006

Package: rafkill
Version: 1.2.1-2
Severity: normal

Setting up rafkill (1.2.1-2) ...
rmdir: /usr/share/doc/rafkill: Not a directory

You should check if it is a directory first; this includes ensuring
that it isn't a symlink (eg. the symlink that you are creating):

if [ -d "$f" ] && [ ! -L "$f" ] ; then

Right now this warning happens on all upgrades.

$ mkdir a
$ ln -s a b
$ rmdir b
rmdir: b: Not a directory

More information about the Pkg-allegro-maintainers mailing list