mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 04:28:40 +03:00
Merge pull request #148256 from anund/fix_broken_icon
mcomix: fix invalid .desktop icon name
This commit is contained in:
commit
e396daa2a1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user