Skip to content

Commit

Permalink
Optimizing logic of file copys
Browse files Browse the repository at this point in the history
  • Loading branch information
CorneliousJD authored May 13, 2020
1 parent 43b4ffd commit 988d2c9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions start.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
#!/bin/sh

#Old Code to copy files. Cleanup later.
#if [ ! -f /usr/share/nginx/html/index.html ]; then
#cp /usr/share/holding/*.* /usr/share/nginx/html
#cp -R /usr/share/holding/assets /usr/share/nginx/html
#fi

#check for existing files, copy them into place if needed.
if [ ! -f /usr/share/nginx/html/index.html ]; then
cp /usr/share/holding/index.html /usr/share/nginx/html/index.html
Expand Down

0 comments on commit 988d2c9

Please sign in to comment.