qemu: guard desktop file removal
The qemu.desktop file should only be attempted to be removed if available.
This commit is contained in:
parent
bed33d185a
commit
e74ae54da5
@ -143,7 +143,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postFixup = ''
|
||||
# the .desktop is both invalid and pointless
|
||||
rm -f $out/share/applications/qemu.desktop
|
||||
test -e $out/share/applications/qemu.desktop && rm -f $out/share/applications/qemu.desktop
|
||||
|
||||
# copy qemu-ga (guest agent) to separate output
|
||||
mkdir -p $ga/bin
|
||||
|
Loading…
Reference in New Issue
Block a user