generated from Fascinated/nextjs-13-template-with-tailwindcss
Add auto downloading of files #4
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "simple-links",
|
||||
"version": "0.1.6",
|
||||
"version": "0.1.7",
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
|
1
start.sh
1
start.sh
@ -7,6 +7,7 @@ echo "Checking if files need to be downloaded"
|
||||
if [ -z "$(ls -A $workDir/public)" ]; then
|
||||
echo "Some files are missing, downloading them"
|
||||
if [ ! -w "$workDir" ]; then
|
||||
# TODO: fix this. it doesn't seem to be working?
|
||||
echo "The directory \"$workDir\" is not writeable, unable to download files. Please check your docker compose for :ro and set it to :rw"
|
||||
fi
|
||||
for item in "${toDownload[@]}"
|
||||
|
Loading…
Reference in New Issue
Block a user