diff options
author | Douglas Iuri Medeiros Cabral | 2021-06-13 23:22:21 -0300 |
---|---|---|
committer | Douglas Iuri Medeiros Cabral | 2021-06-13 23:22:21 -0300 |
commit | 7a466579e48d8a3a9ff0eb8cd3d02948e2be027c (patch) | |
tree | 497680e8d4fe1a82a64b89b8433ec77622133a7a | |
parent | c370f2502c57010baa1ad226e38db246d4477434 (diff) | |
download | aur-7a466579e48d8a3a9ff0eb8cd3d02948e2be027c.tar.gz |
Create /etc/forticlient/.old/ if config.db exist
-rw-r--r-- | forticlient-vpn.install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forticlient-vpn.install b/forticlient-vpn.install index 899b18685470..567b72391f52 100644 --- a/forticlient-vpn.install +++ b/forticlient-vpn.install @@ -6,7 +6,7 @@ pre_install () { # Backup old XML configurations if they exist so they can # be imported on start up if upgrading from an older FCT version - if [ -f $FCT_CONFIG ] || [ -f $EC_CONFIG ]; then + if [ -f $FCT_CONFIG_DB ] || [ -f $FCT_CONFIG ] || [ -f $EC_CONFIG ]; then mkdir $BACKUP_DIR && chmod 0600 $BACKUP_DIR else exit 0 |