diff options
author | Tim <dargonforce@airmail.cc> | 2019-10-18 19:10:16 -0400 |
---|---|---|
committer | Tim <dargonforce@airmail.cc> | 2019-10-18 19:10:16 -0400 |
commit | bfe06f814e3a06d2a1eeb9e59e0f48b301c6c657 (patch) | |
tree | c991aa6ef3cdaa01c774ca7ce8513fc8cf43757e | |
parent | Renamed pwsh package to pwsh-bin (diff) | |
download | dotnet-bfe06f814e3a06d2a1eeb9e59e0f48b301c6c657.tar.gz dotnet-bfe06f814e3a06d2a1eeb9e59e0f48b301c6c657.tar.bz2 dotnet-bfe06f814e3a06d2a1eeb9e59e0f48b301c6c657.zip |
Setting permissions byte for pwsh correctly
-rw-r--r-- | app-shells/pwsh-bin/pwsh-bin-6.2.3.ebuild | 14 |
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" +} |