mirror of
https://github.com/YunoHost-Apps/keeweb_ynh.git
synced 2024-09-03 19:26:33 +02:00
Fix install at source
Thanks Maniack
This commit is contained in:
parent
29dd3c38fa
commit
9e5c65c461
1 changed files with 4 additions and 4 deletions
|
@ -20,16 +20,16 @@ app=$YNH_APP_INSTANCE_NAME
|
||||||
if [ "${path:${#path}-1}" == "/" ] && [ ${#path} -gt 1 ]; then
|
if [ "${path:${#path}-1}" == "/" ] && [ ${#path} -gt 1 ]; then
|
||||||
path="${path:0:${#path}-1}"
|
path="${path:0:${#path}-1}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check domain/path availability
|
||||||
|
sudo yunohost app checkurl "${domain}${path}" -a "$app" \
|
||||||
|
|| ynh_die "Path not available: ${domain}${path}"
|
||||||
|
|
||||||
# Save app settings
|
# Save app settings
|
||||||
ynh_app_setting_set "$app" domain "$domain"
|
ynh_app_setting_set "$app" domain "$domain"
|
||||||
ynh_app_setting_set "$app" path "$path"
|
ynh_app_setting_set "$app" path "$path"
|
||||||
ynh_app_setting_set "$app" is_public "$is_public"
|
ynh_app_setting_set "$app" is_public "$is_public"
|
||||||
|
|
||||||
# Check domain/path availability
|
|
||||||
sudo yunohost app checkurl "${domain}${path}" -a "$app" \
|
|
||||||
|| ynh_die "Path not available: ${domain}${path}"
|
|
||||||
|
|
||||||
# Download source
|
# Download source
|
||||||
sudo wget -q https://raw.githubusercontent.com/keeweb/keeweb/gh-pages/index.html
|
sudo wget -q https://raw.githubusercontent.com/keeweb/keeweb/gh-pages/index.html
|
||||||
sudo wget -q https://raw.githubusercontent.com/keeweb/keeweb/gh-pages/manifest.appcache
|
sudo wget -q https://raw.githubusercontent.com/keeweb/keeweb/gh-pages/manifest.appcache
|
||||||
|
|
Loading…
Add table
Reference in a new issue