diff options
| author | Christophe Monniez <moc@odoo.com> | 2017-09-18 16:09:48 +0200 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2017-10-03 12:01:52 +0200 |
| commit | e0dc251805e0795fc112757c004e97db7eaf13b3 (patch) | |
| tree | 02e8f491044dbcd364249b3464f02b5b01707bcb /setup/redhat | |
| parent | 77df0e5b27745aa286d42e572b550acf57dd8746 (diff) | |
[IMP] Support for building Fedora26 rpm
Diffstat (limited to 'setup/redhat')
| -rw-r--r-- | setup/redhat/install.sh | 2 | ||||
| -rw-r--r-- | setup/redhat/postinstall.sh | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/setup/redhat/install.sh b/setup/redhat/install.sh index e214d04acff..982cc8759e9 100644 --- a/setup/redhat/install.sh +++ b/setup/redhat/install.sh @@ -1,3 +1,3 @@ #!/bin/sh set -e -python setup.py install --prefix=/usr --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES +python3 setup.py install --prefix=/usr --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES --install-lib usr/lib/python3.6/site-packages/ diff --git a/setup/redhat/postinstall.sh b/setup/redhat/postinstall.sh index 941cb2c5105..b78ee40f538 100644 --- a/setup/redhat/postinstall.sh +++ b/setup/redhat/postinstall.sh @@ -28,7 +28,7 @@ db_host = False db_port = False db_user = $ODOO_USER db_password = False -addons_path = /usr/lib/python2.7/site-packages/odoo/addons +addons_path = /usr/lib/python3.6/site-packages/odoo/addons " > $ODOO_CONFIGURATION_FILE chown $ODOO_USER:$ODOO_GROUP $ODOO_CONFIGURATION_FILE chmod 0640 $ODOO_CONFIGURATION_FILE @@ -58,4 +58,3 @@ ExecStart=/usr/bin/odoo --config $ODOO_CONFIGURATION_FILE --logfile $ODOO_LOG_FI [Install] WantedBy=multi-user.target EOF -easy_install pyPdf2 vatnumber pydot psycogreen suds ofxparse XlsxWriter |
