blob: 654aa8a62c3ecd23c8ed83b6a79c8bde7be489f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
post_install()
{
echo -e "\n \e[1;37mRemember to run \e[1;32msudo ctx_rehash"
echo -e " \e[1;37mThis will create links in \e[1;32m/opt/Citrix/ICAClient/keystore/cacerts\e[1;37m pointing to \e[1;32m/etc/ssl/certs\e[1;37m"
echo -e " \e[1;37mThese links are the root dependencies of official/custom certificates existing/dropped in the Citrix folder\n"
echo -e " It isn't a good practice to use \e[1;31m/etc/ssl/certs\e[1;37m\n"
echo -e " On Arch Linux, to trust a system-side certificate run \e[1;32msudo trust anchor --store certificate.pem\e[1;37m"
echo -e " The certificate will be written to \e[1;32m/etc/ca-certificates/trust-source/\e[1;37m\n"
echo -e " On Citrix, to trust a certificate, simply drop it in \e[1;32m/opt/Citrix/ICAClient/keystore/cacerts\e[1;37m and run \e[1;32msudo ctx_rehash\e[1;37m\n"
}
post_uninstall()
{
echo -e "\n \e[1;37mTo entirely remove Citrix run \e[1;32msudo rm /opt/Citrix -fr;sudo rm ~/.ICAClient -fr\e[1;37m\n"
}
post_upgrade() { post_install; }
post_remove() { post_uninstall; }
|