From b9424df3adea55192b1ed3c8647f8b9d7dea1fee Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Thu, 21 May 2015 19:26:27 -0500 Subject: sphinx: add new package to [pcr] --- pcr/sphinx/sphinx.install | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pcr/sphinx/sphinx.install (limited to 'pcr/sphinx/sphinx.install') 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 +} -- cgit v1.2.3-2-g168b