summaryrefslogtreecommitdiff
path: root/pcr/trytond/trytond.install
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-01-23 01:07:26 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-01-23 01:07:26 -0500
commit32a1946ee3539a2670bc4a9e6d18929dc4795ed2 (patch)
tree89e4fec0dc32f8a73faf6998d26b90792a3ed68b /pcr/trytond/trytond.install
parent43bc41f0ffc305ccb24d93f6a77ac5988976d6dc (diff)
downloadabslibre-32a1946ee3539a2670bc4a9e6d18929dc4795ed2.tar.gz
abslibre-32a1946ee3539a2670bc4a9e6d18929dc4795ed2.tar.bz2
abslibre-32a1946ee3539a2670bc4a9e6d18929dc4795ed2.zip
trytond-4.2.1-1: updating version
Diffstat (limited to 'pcr/trytond/trytond.install')
-rw-r--r--pcr/trytond/trytond.install23
1 files changed, 0 insertions, 23 deletions
diff --git a/pcr/trytond/trytond.install b/pcr/trytond/trytond.install
deleted file mode 100644
index 453bcac1d..000000000
--- a/pcr/trytond/trytond.install
+++ /dev/null
@@ -1,23 +0,0 @@
-post_install() {
- echo
- echo "Adding tryton group... "
- groupadd tryton
- echo "Adding tryton user... "
- useradd -c "Tryton Server Daemon" -g tryton -s /bin/false tryton
-
- echo
- echo "Note:"
- echo "- Tryton modules can be installed using pip2, e.g. 'pip2 install trytond-party'."
- echo "- Configure Tryton using the config file /etc/trytond.conf."
- echo "- See the Tryton documentation at http://doc.tryton.org for more information."
- echo
-}
-
-post_remove() {
- echo "Removing tryton user... "
- userdel tryton
-}
-
-op=$1
-shift
-[ "$(type -t "$op")" = "function" ] && $op "$@"