1
0
Fork 0
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:
frju365 2017-02-11 20:26:05 +01:00 committed by GitHub
parent 0c59bf77c4
commit 790aad8bed

View file

@ -13,6 +13,10 @@ app=$YNH_APP_INSTANCE_NAME
# Source app 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
# Handle the slash at the beginning of path and its absence at ending
# Return a normalized url path
@ -38,10 +42,6 @@ ynh_normalize_url_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
sudo apt-get update
sudo apt-get -y -qq install php5-sqlite