summaryrefslogtreecommitdiff
path: root/pcr/sphinx/sphinx.install
blob: bb4d80f4abbe04f782ba3c66271fb8282a00e032 (plain)
1
2
3
4
5
6
7
8
9
10
11
post_install() {
  groupadd sphinx
  useradd -d /var/lib/sphinx -g sphinx sphinx
  chown -R sphinx:sphinx /var/lib/sphinx
}

## arg 1:  the old package version
post_remove() {
  userdel sphinx
  groupdel sphinx
}