Commit e8e27ece authored by Leo Iannacone's avatar Leo Iannacone

do not remove connect style - just use some custom style

parent 558ff925
......@@ -2,7 +2,7 @@
export SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
bash ${SCRIPTS_DIR}/install/remove_css_directory_listing.sh
bash ${SCRIPTS_DIR}/install/patch_css_directory_listing.sh
bash ${SCRIPTS_DIR}/install/download_external_libs.sh
python ${SCRIPTS_DIR}/install/create-user-config.py
\ No newline at end of file
python ${SCRIPTS_DIR}/install/create-user-config.py
#!/bin/bash
CSS="${SCRIPTS_DIR}/../node_modules/express/node_modules/connect/lib/public/style.css"
if [ "`grep debomatic-webui $CSS`" == "" ] ; then
echo "Patching directory listing style.css"
cp $CSS $CSS.orig
echo "
/* debomatic-webui style patch */
ul#files li {
float: none;
}
/* end debomatic-webui patch */
" >> $CSS
fi
#!/bin/bash
CSS="${SCRIPTS_DIR}/../node_modules/express/node_modules/connect/lib/public/style.css"
if [ "`stat -c '%s' "$CSS"`" -gt 1 ] ; then
echo "Removing css from express directory listing ..."
echo "" > $CSS
fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment