Sindbad~EG File Manager

Current Path : /var/lib/dpkg/info/
Upload File :
Current File : /var/lib/dpkg/info/auoms.postinst

#!/bin/sh
if [ "$1" = "configure" ]; then
    if [ -e /etc/audisp/plugins.d/auoms.conf.auomssave ]; then
        if [ -e /etc/audisp/plugins.d/auoms.conf ]; then
            rm /etc/audisp/plugins.d/auoms.conf
        fi
        cp -p /etc/audisp/plugins.d/auoms.conf.auomssave /etc/audisp/plugins.d/auoms.conf
    fi
    /opt/microsoft/auoms/bin/auomsctl upgrade
fi
rm -rf /etc/audisp/plugins.d/auoms.conf.*
exit 0

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists