diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2015-05-28 11:29:47 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2015-05-28 11:29:47 -0300 |
commit | fcb2d26cfa3b265200b5ae9e949d787a56bd4f14 (patch) | |
tree | 60bf5147d7608e6217b37e6807c386b3a43a2b36 /pcr/sphinx/sphinx.install | |
parent | 19fe7e7da672746eea0c2cae0307cea5e54fb23e (diff) | |
parent | b0bb663657922f0154dd8d60a6d5455f9a2bfe3c (diff) | |
download | abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.tar.gz abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.tar.bz2 abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.zip |
Merge branch 'master' of git://projects.parabola.nu/abslibre/abslibre
Diffstat (limited to 'pcr/sphinx/sphinx.install')
-rw-r--r-- | pcr/sphinx/sphinx.install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pcr/sphinx/sphinx.install b/pcr/sphinx/sphinx.install new file mode 100644 index 000000000..bb4d80f4a --- /dev/null +++ b/pcr/sphinx/sphinx.install @@ -0,0 +1,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 +} |