mirror of
https://github.com/YunoHost-Apps/scrumblr_ynh.git
synced 2024-09-03 20:16:29 +02:00
Update install
This commit is contained in:
parent
595c577302
commit
5b643c1827
1 changed files with 4 additions and 4 deletions
|
@ -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 redis-server php5-redis nodejs-legacy nodejs npm
|
||||
|
|
Loading…
Add table
Reference in a new issue