qgroundcontrol: fixes #49870

The `.desktop` referenced a non existent script to run `QGroundControl`. This commits adds a `sed` command, which replaces the non existent script by the name of the `QGroundControl` binary in the relevant `.desktop` file.
This commit is contained in:
wucke13 2018-11-11 14:25:13 +01:00
parent 4fc8527697
commit c26b42be74

View File

@ -37,6 +37,7 @@ stdenv.mkDerivation rec {
cd ..
mkdir -p $out/share/applications
sed 's/Exec=.*$/Exec=QGroundControl/g' --in-place deploy/qgroundcontrol.desktop
cp -v deploy/qgroundcontrol.desktop $out/share/applications
mkdir -p $out/bin