mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
26 lines
417 B
Text
26 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 $*
|