Commit 2bfc4512 authored by Leo Iannacone's avatar Leo Iannacone

Remove css from listing directory - moved sript to install/ directory - update...

Remove css from listing directory - moved sript to install/ directory - update package.json to call install.sh, which will call other scripts
parent b5da7f14
......@@ -10,6 +10,6 @@
, "tail": "*"
}
, "scripts": {
"install": "bash scripts/download_external_libs.sh"
"install": "bash scripts/install.sh"
}
}
#!/bin/bash
export SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
bash install/remove_css_directory_listing.sh
bash install/download_external_libs.sh
#!/bin/bash
SCRIPTS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
EXT_LIBS_DIR="${SCRIPTS_DIR}/../public/external_libs"
get_bootstrap() {
......
#!/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