aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucian Poston <lucianposton@pm.me>2018-07-06 01:15:37 -0700
committerLucian Poston <lucianposton@pm.me>2018-07-06 01:15:37 -0700
commita673c9556882e289396e47167704c5dd551c7a69 (patch)
tree39205f8dfe757305716f13f9b8f140a70d52139d
parentapp-editors/visual-studio-code: Bump 1.25.0 (diff)
downloaddotnet-a673c9556882e289396e47167704c5dd551c7a69.tar.gz
dotnet-a673c9556882e289396e47167704c5dd551c7a69.tar.bz2
dotnet-a673c9556882e289396e47167704c5dd551c7a69.zip
app-editors/visual-studio-code: Fix missing perms
Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r--app-editors/visual-studio-code/visual-studio-code-1.25.0-r1.ebuild (renamed from app-editors/visual-studio-code/visual-studio-code-1.25.0.ebuild)8
1 files changed, 3 insertions, 5 deletions
diff --git a/app-editors/visual-studio-code/visual-studio-code-1.25.0.ebuild b/app-editors/visual-studio-code/visual-studio-code-1.25.0-r1.ebuild
index f2e334f..cbe723f 100644
--- a/app-editors/visual-studio-code/visual-studio-code-1.25.0.ebuild
+++ b/app-editors/visual-studio-code/visual-studio-code-1.25.0-r1.ebuild
@@ -44,14 +44,12 @@ pkg_setup() {
}
src_install() {
- insinto "/opt/${PN}"
- doins -r *
+ dodir "/opt"
+ # Using doins -r would strip executable bits from all binaries
+ cp -pPR "${S}" "${D}/opt/${PN}" || die "Failed to copy files"
dosym "${EPREFIX}/opt/${PN}/bin/code" "/usr/bin/code"
make_desktop_entry "code" "Visual Studio Code" "${PN}" "Development;IDE"
doicon "${S}/resources/app/resources/linux/code.png"
- fperms +x "/opt/${PN}/code"
- fperms +x "/opt/${PN}/bin/code"
- fperms +x "/opt/${PN}/libnode.so"
insinto "/usr/share/licenses/${PN}"
newins "resources/app/LICENSE.txt" "LICENSE"
}