thedesk: remove original binary from package
This commit is contained in:
parent
647a6f42ee
commit
b2879b78cc
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@ stdenv.mkDerivation rec {
|
|||
mv usr $out
|
||||
mv opt $out
|
||||
|
||||
# binary is not used and probably vulnerable to CVE(s)
|
||||
rm $out/opt/TheDesk/thedesk
|
||||
|
||||
substituteInPlace $out/share/applications/thedesk.desktop \
|
||||
--replace '/opt/TheDesk' $out/bin
|
||||
|
||||
|
|
Loading…
Reference in a new issue