Skip to content
Snippets Groups Projects
Commit fa508e72 authored by jurgenhaas's avatar jurgenhaas
Browse files
parent ff6f335b
No related branches found
No related tags found
1 merge request!31Merging develop into main
......@@ -33,7 +33,13 @@ if [[ ! -f /drupal/.idea/workspace.xml ]]; then
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?><project version=\"4\"></project>" > /drupal/.idea/workspace.xml
fi
if [[ -f /drupal/.idea/codeStyles/Project.xml ]]; then
sed -i "/\bLINE_SEPARATOR\b/d" /drupal/.idea/codeStyles/Project.xml
grep -q LINE_SEPARATOR /drupal/.idea/codeStyles/Project.xml
if [[ $? -eq 0 ]]; then
sed -i "/foo/!{q100}; {s/\bLINE_SEPARATOR\b/d}" /drupal/.idea/codeStyles/Project.xml
echo -e "\\033[31m ======================================== \\033[0m"
echo -e "\\033[31m IDE setting updated - please restart. \\033[0m"
echo -e "\\033[31m ======================================== \\033[0m"
fi
fi
php /usr/local/bin/.configIdea.php $UUID
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment