Skip to content
Snippets Groups Projects
Unverified Commit 84bb7ada authored by Noam Ross's avatar Noam Ross Committed by GitHub
Browse files

Only install shiny and rmarkdown if needed

Just a tiny build efficiency tweak
parent 18f191ab
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ if [ "$ADD" == "shiny" ]; then
wget --no-verbose "https://s3.amazonaws.com/rstudio-shiny-server-os-build/ubuntu-12.04/x86_64/shiny-server-$VERSION-amd64.deb" -O ss-latest.deb && \
gdebi -n ss-latest.deb && \
rm -f version.txt ss-latest.deb && \
install2.r -e shiny rmarkdown && \
install2.r -e --skipinstalled shiny rmarkdown && \
cp -R /usr/local/lib/R/site-library/shiny/examples/* /srv/shiny-server/ && \
rm -rf /var/lib/apt/lists/* && \
mkdir -p /var/log/shiny-server && \
......
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