KUJUNTI.ID MINISH3LL
Path : /var/lib/dpkg/info/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/lib/dpkg/info/sysstat.config


#!/bin/sh
# vim:ts=4:et

set -e

S_UPSTR_VERSION="10.3.1"
S_VERSION="${S_UPSTR_VERSION}-1~"
DEFAULT=/etc/default/sysstat
    
. /usr/share/debconf/confmodule

db_version 2.0 || true

if [ "$1" = "configure" ] ; then
    if dpkg --compare-versions "$2" lt-nl "$S_VERSION"; then

        db_beginblock || true
        db_subst sysstat/remove_files s_version "$S_UPSTR_VERSION"  || true
        db_input high sysstat/remove_files || true
        db_endblock || true
    
        db_go || true
    fi
fi


# read our default file
if [ -r "$DEFAULT" ] ; then 
    ENABLED=false
    . "$DEFAULT"
    [ "$ENABLED" = "true" ] || [ "$ENABLED" = "false" ] || ENABLED=false

    db_set sysstat/enable "$ENABLED" || true
fi    

db_input low sysstat/enable  || true
db_go || true

db_stop || true

© KUJUNTI.ID