| Server IP : 85.214.239.14 / Your IP : 216.73.216.99 Web Server : Apache/2.4.65 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/3/task/3/cwd/proc/self/root/proc/3/cwd/var/lib/dpkg/info/ |
Upload File : |
#!/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