libreerp_ynh/scripts/upgrade
2016-07-05 15:22:12 +02:00

14 lines
239 B
Bash

#!/bin/bash
set -eu
app=$YNH_APP_INSTANCE_NAME
# Source YunoHost helpers
. /usr/share/yunohost/helpers
# Retrieve arguments
domain=$(ynh_app_setting_get "$app" domain)
# Upgrade official package
sudo apt-get install odoo -y -qq
# TBD