mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
33 lines
601 B
Text
33 lines
601 B
Text
|
|
# This is a default template for a post-install scriptlet. You can
|
|
# remove any functions you don't need (and this header).
|
|
|
|
# arg 1: the new package version
|
|
post_install() {
|
|
cat << EOM
|
|
|
|
--> please note that you will need "yelp" to display the help and the notices
|
|
--> of grip. Every other functionality can be used out of the box.
|
|
|
|
EOM
|
|
}
|
|
|
|
# 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
|
|
}
|
|
|
|
# arg 1: the old package version
|
|
post_remove() {
|
|
/bin/true
|
|
}
|
|
|
|
op=$1
|
|
shift
|
|
$op $*
|