mirror of
https://github.com/YunoHost-Apps/garradin_ynh.git
synced 2024-09-03 18:36:17 +02:00
Update install
This commit is contained in:
parent
0c59bf77c4
commit
790aad8bed
1 changed files with 4 additions and 4 deletions
|
@ -13,6 +13,10 @@ app=$YNH_APP_INSTANCE_NAME
|
||||||
# Source app helpers
|
# Source app helpers
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
|
# Check domain/path availability
|
||||||
|
sudo yunohost app checkurl "${domain}${path}" -a "$app" \
|
||||||
|
|| ynh_die "Path not available: ${domain}${path}"
|
||||||
|
|
||||||
# Normalize the url path syntax
|
# Normalize the url path syntax
|
||||||
# Handle the slash at the beginning of path and its absence at ending
|
# Handle the slash at the beginning of path and its absence at ending
|
||||||
# Return a normalized url path
|
# Return a normalized url path
|
||||||
|
@ -38,10 +42,6 @@ ynh_normalize_url_path () {
|
||||||
|
|
||||||
ynh_normalize_url_path $path
|
ynh_normalize_url_path $path
|
||||||
|
|
||||||
# Check domain/path availability
|
|
||||||
sudo yunohost app checkurl "${domain}${path}" -a "$app" \
|
|
||||||
|| ynh_die "Path not available: ${domain}${path}"
|
|
||||||
|
|
||||||
# Install dependency to convert tracks to a readable format for the browser
|
# Install dependency to convert tracks to a readable format for the browser
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get -y -qq install php5-sqlite
|
sudo apt-get -y -qq install php5-sqlite
|
||||||
|
|
Loading…
Add table
Reference in a new issue