summarylogtreecommitdiffstats
path: root/emoncms.install
blob: bd2a7fee5bd2de7598250017493d9b00a92eead9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# arg 1:  the new package version
# arg 2:  the old package version

path='/usr/share/webapps/emoncms'
htuser='http'
htgroup='http'
rootuser='root'

fix_perms () {
  chown -R $htuser $path
}

post_install () {
  fix_perms
}

post_upgrade() {
  fix_perms
}