summaryrefslogtreecommitdiff
path: root/pcr/trytond/trytond.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/trytond/trytond.install')
-rw-r--r--pcr/trytond/trytond.install20
1 files changed, 0 insertions, 20 deletions
diff --git a/pcr/trytond/trytond.install b/pcr/trytond/trytond.install
deleted file mode 100644
index 46d6daaba..000000000
--- a/pcr/trytond/trytond.install
+++ /dev/null
@@ -1,20 +0,0 @@
-post_install() {
- echo
- echo "Adding tryton group... "
- groupadd tryton
- echo
- echo "Adding tryton user... "
- useradd -c "Tryton Server Daemon" -g tryton -s /bin/false tryton
-
- echo "Note:"
- echo "==> Please don't forget to configure your PostgreSQL database for the program."
-}
-
-post_remove() {
- echo "Removing tryton system user... "
- userdel tryton && echo "trytond [done]"
-}
-
-op=$1
-shift
-[ "$(type -t "$op")" = "function" ] && $op "$@"