Script build ressources > remove broken symlinks
parent
9708e73149
commit
adcda1f265
|
@ -3,17 +3,25 @@
|
||||||
# Ensure folders are existing
|
# Ensure folders are existing
|
||||||
if [ ! -d public/js ]; then
|
if [ ! -d public/js ]; then
|
||||||
mkdir public/js
|
mkdir public/js
|
||||||
|
else
|
||||||
|
find -L public/js -type l -exec rm {} \;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d public/css ]; then
|
if [ ! -d public/css ]; then
|
||||||
mkdir public/css
|
mkdir public/css
|
||||||
|
else
|
||||||
|
find -L public/css -type l -exec rm {} \;
|
||||||
fi
|
fi
|
||||||
if [ ! -d public/views ]; then
|
if [ ! -d public/views ]; then
|
||||||
mkdir -p public/views/dialogs
|
mkdir -p public/views/dialogs
|
||||||
|
else
|
||||||
|
find -L public/views/dialogs -type l -exec rm {} \;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d public/img ]; then
|
if [ ! -d public/img ]; then
|
||||||
mkdir public/img
|
mkdir public/img
|
||||||
|
else
|
||||||
|
find -L public/img -type l -exec rm {} \;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Link modules resources
|
# Link modules resources
|
||||||
|
|
Loading…
Reference in New Issue