generated from Fascinated/nextjs-13-template-with-tailwindcss
Add auto downloading of files #4
2
start.sh
2
start.sh
@ -11,7 +11,7 @@ if [ -z "$(ls -A $workDir/public)" ]; then
|
||||
for item in "${toDownload[@]}"
|
||||
do
|
||||
dir=$workDir/public/$item
|
||||
if [ -e "$dir" ]; then
|
||||
if [ ! -e "$dir" ]; then
|
||||
echo "Downloading $item to directory $dir"
|
||||
wget -P $dir $baseUrl$item
|
||||
echo "Done"
|
||||
|
Loading…
Reference in New Issue
Block a user