diff options
author | Henning Schild <henning@hennsch.de> | 2022-07-02 14:21:55 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-15 02:43:06 +0100 |
commit | 99a59b9c8b3fe4875a4a66d0c088e080c95ec579 (patch) | |
tree | eb93b79c315355d02883a06daf6a25df2c9916cc /net-misc/icaclient | |
parent | media-gfx/hydrus: Drop 481, add 490 (diff) | |
download | gentoo-99a59b9c8b3fe4875a4a66d0c088e080c95ec579.tar.gz gentoo-99a59b9c8b3fe4875a4a66d0c088e080c95ec579.tar.bz2 gentoo-99a59b9c8b3fe4875a4a66d0c088e080c95ec579.zip |
net-misc/icaclient: fix variable scope issues
Closes: https://bugs.gentoo.org/836089
Signed-off-by: Henning Schild <henning@hennsch.de>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/icaclient')
-rw-r--r-- | net-misc/icaclient/icaclient-22.5.0.16.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net-misc/icaclient/icaclient-22.5.0.16.ebuild b/net-misc/icaclient/icaclient-22.5.0.16.ebuild index ed272b4e5416..4ede9e8d1db4 100644 --- a/net-misc/icaclient/icaclient-22.5.0.16.ebuild +++ b/net-misc/icaclient/icaclient-22.5.0.16.ebuild @@ -83,8 +83,11 @@ pkg_setup() { eerror "Given architecture is not supported by Citrix." ;; esac +} - S="${WORKDIR}/${ICAARCH}/${ICAARCH}.cor" +src_unpack() { + default + mv "${WORKDIR}/${ICAARCH}/${ICAARCH}.cor" "${S}" } src_prepare() { @@ -250,7 +253,7 @@ src_install() { pkg_postinst() { xdg_desktop_database_update - local inidest="${BROOT}${ICAROOT}/config" + local inidest="${ROOT}${ICAROOT}/config" if [[ ! -e "${inidest}"/module.ini ]] ; then mv "${T}"/module.ini "${inidest}/" \ || ewarn 'Failed to install plugin.ini file' |