2008-01-30 07:15:17 -05:00
|
|
|
# This is a default template for a post-install scriptlet.
|
|
|
|
# Uncomment only required functions and remove any functions
|
|
|
|
# you don't need (and this header).
|
2007-07-11 10:59:27 -04:00
|
|
|
|
2008-01-30 07:15:17 -05:00
|
|
|
## arg 1: the new package version
|
|
|
|
#pre_install() {
|
2012-11-16 18:31:43 -05:00
|
|
|
# do something here
|
2008-01-30 07:15:17 -05:00
|
|
|
#}
|
2007-07-11 10:59:27 -04:00
|
|
|
|
2008-01-30 07:15:17 -05:00
|
|
|
## arg 1: the new package version
|
|
|
|
#post_install() {
|
2012-11-16 18:31:43 -05:00
|
|
|
# do something here
|
2008-01-30 07:15:17 -05:00
|
|
|
#}
|
2007-07-11 10:59:27 -04:00
|
|
|
|
2008-01-30 07:15:17 -05:00
|
|
|
## arg 1: the new package version
|
|
|
|
## arg 2: the old package version
|
|
|
|
#pre_upgrade() {
|
2012-11-16 18:31:43 -05:00
|
|
|
# do something here
|
2008-01-30 07:15:17 -05:00
|
|
|
#}
|
2007-07-11 10:59:27 -04:00
|
|
|
|
2008-01-30 07:15:17 -05:00
|
|
|
## arg 1: the new package version
|
|
|
|
## arg 2: the old package version
|
|
|
|
#post_upgrade() {
|
2012-11-16 18:31:43 -05:00
|
|
|
# do something here
|
2008-01-30 07:15:17 -05:00
|
|
|
#}
|
2007-07-11 10:59:27 -04:00
|
|
|
|
2008-01-30 07:15:17 -05:00
|
|
|
## arg 1: the old package version
|
|
|
|
#pre_remove() {
|
2012-11-16 18:31:43 -05:00
|
|
|
# do something here
|
2008-01-30 07:15:17 -05:00
|
|
|
#}
|
2007-07-11 10:59:27 -04:00
|
|
|
|
2008-01-30 07:15:17 -05:00
|
|
|
## arg 1: the old package version
|
|
|
|
#post_remove() {
|
2012-11-16 18:31:43 -05:00
|
|
|
# do something here
|
2008-01-30 07:15:17 -05:00
|
|
|
#}
|