mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-07 23:24:05 +00:00
27 lines
417 B
Text
27 lines
417 B
Text
|
|
||
|
# arg 1: the new package version
|
||
|
post_install() {
|
||
|
cat << EOM
|
||
|
|
||
|
--> printing support in gimpshop depends on gutenprint. Install it if you need
|
||
|
--> printing.
|
||
|
|
||
|
EOM
|
||
|
echo "update desktop mime database..."
|
||
|
update-desktop-database -q
|
||
|
}
|
||
|
|
||
|
post_upgrade() {
|
||
|
post_install $1
|
||
|
}
|
||
|
|
||
|
# arg 1: the old package version
|
||
|
post_remove() {
|
||
|
echo "update desktop mime database..."
|
||
|
update-desktop-database -q
|
||
|
}
|
||
|
|
||
|
op=$1
|
||
|
shift
|
||
|
$op $*
|