vscode: fix permissions

This commit is contained in:
Michal Vasilek 2021-08-08 14:40:25 +02:00
parent 7999d38630
commit 933b1ed22e

View file

@ -1,7 +1,7 @@
# Template file for 'vscode'
pkgname=vscode
version=1.59.1
revision=1
revision=2
_electronver=12.0.14
hostmakedepends="pkg-config python nodejs yarn tar git"
makedepends="libxkbfile-devel libsecret-devel electron12"
@ -66,4 +66,5 @@ do_install() {
-e 's|"$CLI"|"$CLI" --app="${VSCODE_PATH}/resources/app"|g' \
-i "$DESTDIR"/usr/lib/code-oss/bin/code-oss
vlicense LICENSE.txt
chmod -R o-w ${DESTDIR}/usr/lib/code-oss/resources/app/
}