diff options
author | Douglas Iuri Medeiros Cabral | 2023-03-11 06:46:40 -0300 |
---|---|---|
committer | Douglas Iuri Medeiros Cabral | 2023-03-11 06:46:40 -0300 |
commit | 9e7c0b4ec56bc0a9b2fd607c370f15c508ddf0c1 (patch) | |
tree | 96420094ec7a099d45012db38e7b6bef8f56de26 /forticlient-vpn.install | |
parent | 6101818adeb230d5355c4365e0520ac3caf10bf9 (diff) | |
download | aur-9e7c0b4ec56bc0a9b2fd607c370f15c508ddf0c1.tar.gz |
Fixed pre_upgrade and pre_install
Diffstat (limited to 'forticlient-vpn.install')
-rw-r--r-- | forticlient-vpn.install | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/forticlient-vpn.install b/forticlient-vpn.install index 8652af2e696a..3b99ad7a0353 100644 --- a/forticlient-vpn.install +++ b/forticlient-vpn.install @@ -23,6 +23,9 @@ pre_install () { } pre_upgrade () { + + pre_install + # Check if forticlient is registered to EMS if it's an uninstall if [ -f /opt/forticlient/.fct_ec_registered ] && [ "$action" != "upgrade" ]; then echo "=============================================================" @@ -166,6 +169,9 @@ post_install() { } post_upgrade() { + + post_install + cat << EOF ==> After upgrade, to restore your configuration, copy /etc/forticlient/.old/* to /etc/forticlient/ |