Merge pull request #258075 from WolfangAukang/thedesk-cleanup

thedesk: remove original binary from package
This commit is contained in:
Peder Bergebakken Sundt 2023-12-07 02:49:35 +01:00 committed by GitHub
commit af19b2e561
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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