mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
Merge pull request #51605 from fusion809/patch-8
atom, atom-beta: Fixing Exec= line in app launcher
This commit is contained in:
commit
dd345c8ff9
|
@ -44,8 +44,7 @@ let
|
|||
buildCommand = ''
|
||||
mkdir -p $out/usr/
|
||||
ar p $src data.tar.xz | tar -C $out -xJ ./usr
|
||||
substituteInPlace $out/usr/share/applications/${pname}.desktop \
|
||||
--replace /usr/share/${pname} $out/bin
|
||||
sed -i -e "s|Exec=.*$|Exec=$out/bin/${pname}|" $out/usr/share/applications/${pname}.desktop
|
||||
mv $out/usr/* $out/
|
||||
rm -r $out/share/lintian
|
||||
rm -r $out/usr/
|
||||
|
|
Loading…
Reference in a new issue