Package: python-twisted-core
Version: 9.0.0-1
Severity: wishlist

Removing python-twisted-core ...
Purging configuration files for python-twisted-core ...
find: `/usr/lib/python[23].*/*-packages/twisted/plugins': No such file or 
directory

It would be friendlier to suppress this message.  Unfortunately, I do
not know how to ask the shell nicely whether filename expansion failed.
Maybe:

 if ! test "$(ls /usr/lib/python[23].*/*-packages/twisted/plugins 2>/dev/null)"
 then ...

or:

 case $(echo /usr/lib/python[23].*/*-packages/twisted/plugins) in
 *\**)
        # not found
        ;;
 *)
        ...
        ;;
 esac

Neither is very pleasant, though.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to