[FIX] packaging: fix python abi detection in rpm
Although the ABI detection was fixed in install, it was forgotten in post install script. closes odoo/odoo#78097 X-original-commit: 3a4e98b6fbf6dd3e88e94421496d5c15a517ff64 Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
This commit is contained in:
@@ -9,7 +9,7 @@ ODOO_GROUP="odoo"
|
||||
ODOO_LOG_DIR=/var/log/odoo
|
||||
ODOO_LOG_FILE=$ODOO_LOG_DIR/odoo-server.log
|
||||
ODOO_USER="odoo"
|
||||
ABI=$(rpm -q --provides python3 | awk '/abi/ {print $NF}')
|
||||
ABI=$(rpm -q --provides python3 | uniq | awk '/abi/ {print $NF}')
|
||||
|
||||
if ! getent passwd | grep -q "^odoo:"; then
|
||||
groupadd $ODOO_GROUP
|
||||
|
||||
Reference in New Issue
Block a user