From 4eecff3c107afd3f6d222150e3678ff18c5e8afa Mon Sep 17 00:00:00 2001 From: lapineige Date: Sat, 12 Aug 2023 13:16:23 +0200 Subject: [PATCH] cleaning --- scripts/install | 3 --- 1 file changed, 3 deletions(-) diff --git a/scripts/install b/scripts/install index 61d4c94..d1e39e8 100644 --- a/scripts/install +++ b/scripts/install @@ -47,9 +47,6 @@ chown $app:$app "$install_dir/.env" # max file upload size MEDIA_UPLOAD_SIZE="${media_upload_size//[!0-9]/}000000" - -"${media_upload_size:0:2}000000" # convert the MB argument in bytes -STRING="5MB,10MB"; echo ynh_replace_string --match_string="UPLOAD_LIMIT=MEDIA_UPLOAD_SIZE" --replace_string="UPLOAD_LIMIT=$MEDIA_UPLOAD_SIZE" --target_file="$install_dir/.env" #=================================================