1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dolibarr_ynh.git synced 2024-09-03 18:35:53 +02:00

[enh] start install script

This commit is contained in:
Laurent Peuch 2015-09-28 22:13:34 +02:00
parent e6008fc691
commit 63af97e169

15
scripts/install Normal file
View file

@ -0,0 +1,15 @@
set -e
# Retrieve arguments
domain=$1
path=$2
# Check domain/path availability
sudo yunohost app checkurl $domain$path -a noalyss
if [[ ! $? -eq 0 ]]; then
exit 1
fi
path=${path%/}
sudo yunohost app setting dolibarr version -v "3.8.0"