summaryrefslogtreecommitdiff
path: root/extra/gtksourceview-sharp-2.0/gtksourceview-sharp-2.0.install
blob: 4d9d891f61616bd67ba21fce2309e95760d41f20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
post_install() {
  echo "recreating monodoc index ... this could take a while..."
  monodoc --make-index > /dev/null 2>&1 
}

# arg 1:  the new package version
# arg 2:  the old package version
post_upgrade() {
  post_install $1
}

pre_remove() {
  /bin/true
}

post_remove() {
  echo "recreating monodoc index ... this could take a while..."
  monodoc --make-index > /dev/null 2>&1 
}

op=$1
shift

$op $*