diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2021-04-14 18:13:22 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2021-04-14 18:13:22 +0200 |
commit | 5b1c235b9a1218a6870a71283b1c54c9e5df81ae (patch) | |
tree | ac7a555e759d78a734934b4e5e21e292199022f7 /net-misc/xrdp | |
parent | net-misc/xrdp: Fix metadata (diff) | |
download | dilfridge-5b1c235b9a1218a6870a71283b1c54c9e5df81ae.tar.gz dilfridge-5b1c235b9a1218a6870a71283b1c54c9e5df81ae.tar.bz2 dilfridge-5b1c235b9a1218a6870a71283b1c54c9e5df81ae.zip |
net-misc/xrdp: fix preinst
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'net-misc/xrdp')
-rw-r--r-- | net-misc/xrdp/xrdp-0.9.15.ebuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-misc/xrdp/xrdp-0.9.15.ebuild b/net-misc/xrdp/xrdp-0.9.15.ebuild index 9feffaf..aa21c62 100644 --- a/net-misc/xrdp/xrdp-0.9.15.ebuild +++ b/net-misc/xrdp/xrdp-0.9.15.ebuild @@ -102,11 +102,11 @@ src_install() { pkg_preinst() { # either copy existing keys over to avoid CONFIG_PROTECT whining # or generate new keys (but don't include them in binpkg!) - if [[ -f ${EROOT}/etc/xrdp/rsakeys.ini ]]; then + if [[ -f "${EROOT}"/etc/xrdp/rsakeys.ini ]]; then cp {"${EROOT}","${ED}"}/etc/xrdp/rsakeys.ini || die else einfo "Running xrdp-keygen to generate new rsakeys.ini ..." - "${ED}"/usr/bin/xrdp-keygen xrdp "${ED}"/etc/xrdp/rsakeys.ini \ + LD_LIBRARY_PATH="${ED}"/usr/lib64/xrdp "${ED}"/usr/bin/xrdp-keygen xrdp "${ED}"/etc/xrdp/rsakeys.ini \ || die "xrdp-keygen failed to generate RSA keys" fi } |