Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (22 sloc) 510 Bytes
# arg 1: the new package version
post_install() {
echo ">>> leo can be configured to use the python2-pyenchant package for spellchecking."
update-desktop-database -q
update-mime-database usr/share/mime >/dev/null
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
post_install $1
}
# arg 1: the old package version
pre_remove() {
/bin/true
}
post_remove() {
update-desktop-database -q
update-mime-database usr/share/mime >/dev/null
}
op=$1
shift
$op "$@"