%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/lib/dpkg/info/
Upload File :
Create Path :
Current File : /var/lib/dpkg/info/kesl-gui.postinst

#!/bin/sh -ue

readonly PACKAGE_INSTALL_DIRECTORY='/var/opt/kaspersky/kesl/install_12.0.0.6672/'
readonly POSTINSTALL_FILEPATH='/opt/kaspersky/kesl/libexec/kesl-gui-postinstall'

if [ "$1" != "configure" ]; then
    exit 0
fi


readonly log='/var/log/kaspersky/kesl/kesl_launcher.log'
exec 1>>$log
exec 2>&1
set -x
echo "Running GUI postinstall script ..."

parsec_caps=''
if lsmod | fgrep -q 'parsec'; then
    parsec_caps='/usr/sbin/execaps -c 0x20000 -- '
fi

${parsec_caps} ${PACKAGE_INSTALL_DIRECTORY}/${POSTINSTALL_FILEPATH}

echo "GUI postinstall script completed successfully"

exit 0


Zerion Mini Shell 1.0