Commit 8ce19025 authored by Leo Iannacone's avatar Leo Iannacone

pathing serve index css no longer needed

parent df49d525
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
export SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" export SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
bash ${SCRIPTS_DIR}/install/patch_css_directory_listing.sh
bash ${SCRIPTS_DIR}/install/download_external_libs.sh bash ${SCRIPTS_DIR}/install/download_external_libs.sh
python ${SCRIPTS_DIR}/install/create-user-config.py python ${SCRIPTS_DIR}/install/create-user-config.py
#!/bin/bash
CSS="${SCRIPTS_DIR}/../node_modules/serve-index/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
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