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:
parent
e6008fc691
commit
63af97e169
1 changed files with 15 additions and 0 deletions
15
scripts/install
Normal file
15
scripts/install
Normal 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"
|
Loading…
Add table
Reference in a new issue