Merge pull request #51605 from fusion809/patch-8
atom, atom-beta: Fixing Exec= line in app launcher
This commit is contained in:
commit
dd345c8ff9
1 changed files with 1 additions and 2 deletions
|
@ -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