Comment 7 for bug 665651

Revision history for this message
Peter Wu (lekensteyn) wrote :

I've currently have the next command in my post-installation script for fixing the bug:

tmp="$(mktemp)"&&wget https://launchpadlibrarian.net/73767502/pm-functions-run-hooks-with-local.patch -O"$tmp"&&\
echo "8b59fdcb8f79c40510c15f6a8f3695f9569b084c6f6640e8175cf3105d81439e $tmp"|sha256sum -c&&\
sudo patch /usr/lib/pm-utils/pm-functions "$tmp";rm $tmp

The upstream bug has been reported two months after this one: https://bugs.freedesktop.org/show_bug.cgi?id=32210