diff options
| author | yalh76 <yalh@yahoo.com> | 2019-07-19 00:28:43 +0200 |
|---|---|---|
| committer | yalh76 <yalh@yahoo.com> | 2019-07-19 00:28:43 +0200 |
| commit | 5c325134b146e75b388f83df5730b988d096fdc4 (patch) | |
| tree | 488b3db8cfccef27db215f36c6d6910521448e28 /scripts/install | |
| parent | d308718c4885d440e2b01aeec94941c8f5abd592 (diff) | |
| download | mastodon_ynh-5c325134b146e75b388f83df5730b988d096fdc4.tar.gz mastodon_ynh-5c325134b146e75b388f83df5730b988d096fdc4.tar.bz2 mastodon_ynh-5c325134b146e75b388f83df5730b988d096fdc4.zip | |
Update install
Diffstat (limited to 'scripts/install')
| -rw-r--r-- | scripts/install | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/install b/scripts/install index 0991cbc..5bc5c23 100644 --- a/scripts/install +++ b/scripts/install @@ -44,8 +44,7 @@ ynh_script_progression --message="Validating installation parameters..." --weigh final_path=/var/www/$app test ! -e "$final_path" || ynh_die --message="This path already contains a folder" -if [ "$admin" != "package_checker" ] -then +if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then # TODO : to be factorized into a helper someday ? ;) MEM=$(free | grep "^Mem" | awk '{print $2}') SWAP=$(free | grep "^Swap" | awk '{print $2}') |
