Merge pull request #308113 from qubitnano/pr/usbimager
usbimager: fix usbimager.desktop
This commit is contained in:
@@ -29,6 +29,11 @@ stdenv.mkDerivation rec {
|
||||
-e 's|install -m 2755 -g $(GRP)|install |g' Makefile
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace $out/share/applications/usbimager.desktop \
|
||||
--replace-fail "Exec=/usr/bin/usbimager" "Exec=usbimager"
|
||||
'';
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ]
|
||||
|
||||
Reference in New Issue
Block a user