File: vim-doc.preinst

package info (click to toggle)
vim 1%3A7.0-122%2B1etch5
  • links: PTS
  • area: main
  • in suites: etch
  • size: 9,992 kB
  • ctags: 55
  • sloc: makefile: 444; sh: 224; perl: 97; python: 25
file content (18 lines) | stat: -rw-r--r-- 178 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash -e

remove_symlink () {
  if [ -L $1 ]; then
    rm $1
  fi
}

case "$1" in
  upgrade)
    remove_symlink /usr/share/doc/vim-common
    ;;
esac

#DEBHELPER#

exit 0