Comment 4 for bug 17674

Revision history for this message
Sami Haahtinen (ressu) wrote :

Ah, that exit code 123 was apparently from xargs, not grep.

Anyways, the problem would be the grep clause, grep -l returns false when it
doesn't find anything. that will kill the postinst. Adding || true to the end of
the grep invokation fixes that problem. I'm not attaching patch as i'm not
exactly certain that it is the sane thing to do, as i don't get the general idea
behind the whole postinst.

Also, after adding the "|| true", postinst fails with:
xbase-clients postinst error: bad symbolic links on system

I'm happy to give more information if needed.