aboutsummarylogtreecommitdiffstats
path: root/kesl-gui.install
blob: eaa6476d757edb5d7f06e215288cf0a96b2599c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

post_install(){
    echo $FUNCNAME
    /var/opt/kaspersky/kesl-gui/pkgscripts/postinst configure

    # execute the kesl installer with preconfigured settings
    echo -e "\e[32m\e[1m ... starting '/opt/kaspersky/kesl/bin/kesl-setup.pl' now\e[0m\n(no need to execute it again after installation has finished)."
    /opt/kaspersky/kesl/bin/kesl-setup.pl --autoinstall=/var/opt/kaspersky/kesl/pkgscripts/kesl.ini
}

post_upgrade(){
    post_install
}

pre_remove(){
    echo $FUNCNAME
    /var/opt/kaspersky/kesl-gui/pkgscripts/prerm remove
}