403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.46
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/dpkg/info/libsensors5:amd64.preinst
#! /bin/sh
# preinst script for lm-sensors
#
# see: dh_installdeb(1)

set -e

pathfind() {
    OLDIFS="$IFS"
    IFS=:
    for p in $PATH; do
        if [ -x "$p/$*" ]; then
            IFS="$OLDIFS"
            return 0
        fi
    done
    IFS="$OLDIFS"
    return 1
}

case "$1" in
    install|upgrade)
        if dpkg --compare-versions "$2" lt "1:3.1.1-2"; then
            # As there is now a /etc/sensors.d, we don't need ucf
	    # anymore to manage /etc/sensors3.conf. Remove it 
	    # from the ucf database unconditionally and from
	    # the hard disk if it hasn't changed.
            if cmp -s /usr/share/libsensors4/sensors.conf.eg /etc/sensors3.conf ; then
                rm -f /etc/sensors3.conf
            fi
	    if pathfind ucf; then
                ucf -p /etc/sensors3.conf || true
            fi
        fi
    ;;

    abort-upgrade)
    ;;

    *)
        echo "preinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.



exit 0



Youez - 2016 - github.com/yon3zu
LinuXploit