mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Update install
This commit is contained in:
parent
d308718c48
commit
5c325134b1
1 changed files with 1 additions and 2 deletions
|
@ -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}')
|
||||
|
|
Loading…
Reference in a new issue