%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11584/root/var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh set -e pkg=vim variant=basic # two things to do: # 1) remove /usr/bin/vim.variant as alternative for /usr/bin/vim # 2) remove /usr/bin/gvim as an alternative for gnome-text-editor for # variants built with gnome support remove_gnome_alternative () { if [ -f /usr/bin/vim.$variant ]; then update-alternatives --remove gnome-text-editor /usr/bin/vim.$variant fi } remove_variant_alternative () { for i in vi view ex editor rvim rview vimdiff vim; do update-alternatives --remove $i /usr/bin/vim.$variant done case "$variant" in gtk|gtk3|athena|gnome) # gui enabled variants remove_gui_variant_alternative ;; esac } remove_gui_variant_alternative () { for i in eview evim gview gvimdiff rgview rgvim gvim; do update-alternatives --remove $i /usr/bin/vim.$variant done } case "$1" in # only remove in remove/deconfigure so we don't disrupt users' preferences remove|deconfigure) case "$pkg" in vim-gnome) # gnome enabled variants remove_gnome_alternative ;; esac remove_variant_alternative ;; upgrade|failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 0 ;; esac exit 0