From a2d96d6b2c4d9376e80ce1b5793eaa7db3c53bf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Wed, 18 Apr 2018 10:03:03 +0200 Subject: [PATCH] Updated link modules resources script. --- scripts/link_modules_resources.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/link_modules_resources.sh b/scripts/link_modules_resources.sh index fa45b44..9aca60a 100755 --- a/scripts/link_modules_resources.sh +++ b/scripts/link_modules_resources.sh @@ -45,6 +45,9 @@ if [ -d node_modules/ng_backoffice ]; then cd ../../js/ && find ../../node_modules/ng_backoffice/src -maxdepth 1 -name "*" -exec ln -s {} \; 2>/dev/null cd ../css/ && find ../../node_modules/ng_backoffice/css -name "*" -exec ln -s {} \; 2>/dev/null cd ../img/ && find ../../node_modules/ng_backoffice/img -name "*" -exec ln -s {} \; 2>/dev/null + cd ../flags/ && find ../../node_modules/ng_backoffice/node_modules/ng-country-flags/dist/flags -mindepth 1 -type d -exec ln -s {} \; 2>/dev/null + find ../../node_modules/ng_backoffice/node_modules/ng-country-flags/dist/flags/4x3 -name "nl.svg" -exec mv -f {} ./4x3/ne.svg \; 2>/dev/null + find ../../node_modules/ng_backoffice/node_modules/ng-country-flags/dist/css -name "flag-icon.css" -exec sed -i 's/flag-icon-gb/flag-icon-en/1' {} \; 2>/dev/null if [ -d ../../node_modules/ng_anr ]; then cd ../js/ @@ -80,8 +83,6 @@ if [ -d node_modules/ng_client ]; then find ../../node_modules/ng_client/node_modules/ng-country-flags/dist/flags/4x3 -name "nl.svg" -exec mv -f {} ./4x3/ne.svg \; 2>/dev/null find ../../node_modules/ng_client/node_modules/ng-country-flags/dist/css -name "flag-icon.css" -exec sed -i 's/flag-icon-gb/flag-icon-en/1' {} \; 2>/dev/null - - if [ -d ../../node_modules/ng_anr ]; then cd ../js/ mkdir -p anr