updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gmontray / gmontray.install
blob2484f6e39820fd4c8bdea1553723f3041a1116f9
1 # This is a default template for a post-install scriptlet.  You can
2 # remove any functions you don't need (and this header).
4 # arg 1:  the new package version
5 pre_install() {
6   /bin/true
9 # arg 1:  the new package version
10 post_install() {
11   echo ">>> Copy /usr/share/doc/gmontray.conf.example at your config home directory (~/.config):"
12   echo ">>>  $cp /usr/share/doc/gmontray.conf.example ~/.config/gmontray.conf"
13         echo ">>>"
14   echo ">>> Change it ander your own needs, and add call of the gmontray at the ~/.xinitrc:"
15         echo ">>>  gmontray -t 2 &"
16         echo ">>> Here '-t 2' is interval of the script execution inseconds, (see. man gmontray)."
19 # arg 1:  the new package version
20 # arg 2:  the old package version
21 pre_upgrade() {
22   /bin/true
25 # arg 1:  the new package version
26 # arg 2:  the old package version
27 post_upgrade() {
28         post_install
31 # arg 1:  the old package version
32 pre_remove() {
33   /bin/true
36 # arg 1:  the old package version
37 post_remove() {
38   /bin/true
41 op=$1
42 shift
43 $op $*