AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/lib/dpkg/info/bash-completion.preinst
#!/bin/sh

set -e

case "$1" in
    install|upgrade)
        if [ -e /usr/share/doc/bash/completion-contrib ]; then
            rm -rf /usr/share/doc/bash/completion-contrib
        fi
        # let's remove old bash-completion conffiles
        for f in $(dpkg-query -W -f='${Conffiles}\n' bash-completion | grep bash_completion.d | cut -d\  -f2); do
            dpkg-maintscript-helper rm_conffile $f 1:1.3-1 -- "$@"
        done
        if dpkg --compare-versions "$2" lt-nl 1:2.0-1 &&
           dpkg --compare-versions "$2" ge 1:1.99-2 &&
           [ -L /etc/bash_completion ] &&
           [ "$(readlink /etc/bash_completion)" = \
             /usr/share/bash-completion/bash_completion ]; then
            rm -f /etc/bash_completion
        fi
    ;;

    abort-upgrade)
    ;;

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



exit 0



Anon7 - 2022
AnonSec Team