Updated link modules resources script.

pull/86/head
Cédric Bonhomme 2018-04-18 10:03:03 +02:00
parent cb5b66aaa1
commit a2d96d6b2c
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 3 additions and 2 deletions

View File

@ -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