aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim <dargonforce@airmail.cc>2019-10-18 19:10:16 -0400
committerTim <dargonforce@airmail.cc>2019-10-18 19:10:16 -0400
commitbfe06f814e3a06d2a1eeb9e59e0f48b301c6c657 (patch)
treec991aa6ef3cdaa01c774ca7ce8513fc8cf43757e /app-shells
parentRenamed pwsh package to pwsh-bin (diff)
downloaddotnet-bfe06f814e3a06d2a1eeb9e59e0f48b301c6c657.tar.gz
dotnet-bfe06f814e3a06d2a1eeb9e59e0f48b301c6c657.tar.bz2
dotnet-bfe06f814e3a06d2a1eeb9e59e0f48b301c6c657.zip
Setting permissions byte for pwsh correctly
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/pwsh-bin/pwsh-bin-6.2.3.ebuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/app-shells/pwsh-bin/pwsh-bin-6.2.3.ebuild b/app-shells/pwsh-bin/pwsh-bin-6.2.3.ebuild
index 6d81d83..48cbf1d 100644
--- a/app-shells/pwsh-bin/pwsh-bin-6.2.3.ebuild
+++ b/app-shells/pwsh-bin/pwsh-bin-6.2.3.ebuild
@@ -20,10 +20,10 @@ RDEPEND="
S=${WORKDIR}
src_install() {
- local dest="opt/pwsh"
- dodir "${dest}"
-
- local ddest="${D}/${dest}"
- cp -a "${S}"/* "${ddest}/" || die
- dosym "/${dest}/pwsh" "/usr/bin/pwsh"
-} \ No newline at end of file
+ local dest="opt/pwsh"
+ dodir "${dest}"
+ local ddest="${D}/${dest}"
+ cp -a "${S}"/* "${ddest}/" || die
+ fperms 0755 "/${dest}/pwsh"
+ dosym "/${dest}/pwsh" "/usr/bin/pwsh"
+}