Merge pull request #148256 from anund/fix_broken_icon

mcomix: fix invalid .desktop icon name
This commit is contained in:
Jörg Thalheim 2021-12-02 15:33:01 +00:00 committed by GitHub
commit e396daa2a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,8 @@ python3.pkgs.buildPythonApplication rec {
runHook preInstall
substituteInPlace mime/*.desktop \
--replace "Exec=mcomix" "Exec=mcomix3"
--replace "Exec=mcomix" "Exec=mcomix3" \
--replace "Icon=mcomix" "Icon=${pname}"
${python3.executable} installer.py --srcdir=mcomix --target=$libdir
mv $libdir/mcomix/mcomixstarter.py $out/bin/${pname}
mv $libdir/mcomix/comicthumb.py $out/bin/comicthumb