From 1819b1686768e333fd8063decf32541134a4fcdc Mon Sep 17 00:00:00 2001 From: polytan02 Date: Sun, 8 Mar 2015 11:31:55 +0000 Subject: [PATCH] Only opy french translations if requested --- scripts/install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index fe338d5..cccda4d 100644 --- a/scripts/install +++ b/scripts/install @@ -32,7 +32,9 @@ sudo mkdir -p $final_path sudo cp -a ../sources/phpBB/* $final_path # We add french language pack -sudo cp -a ../sources/french_language/* $final_path/ +if [ "$lang" = "fr" ]; + then sudo cp -a ../sources/french_language/* $final_path/ +fi # Set permissions to rainloop directory sudo chown -R www-data:www-data $final_path