mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
25 lines
407 B
Text
25 lines
407 B
Text
|
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 $*
|