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