system-config-printer: remove bad /usr/bin reference in dbus service file

This commit is contained in:
Bjørn Forsman 2016-01-02 17:54:49 +01:00
parent a88b771ae7
commit 1979034956

View File

@ -36,6 +36,9 @@ stdenv.mkDerivation rec {
( cd $out/share/system-config-printer/troubleshoot
mv .__init__.py-wrapped __init__.py
)
# Upstream issue: https://github.com/twaugh/system-config-printer/issues/28
sed -i -e "s|/usr/bin|$out/bin|" "$out/share/dbus-1/services/org.fedoraproject.Config.Printing.service"
'';
meta = {