10 lines
189 B
Bash
Executable File
10 lines
189 B
Bash
Executable File
#!/bin/sh
|
|
if [ ! -f db.json ] ; then
|
|
touch db.json
|
|
fi
|
|
if [ ! -s db.json ] ; then
|
|
echo '{"projects": [ {"id": 1, "data": {"assets": [], "styles": [], "pages": []} } ]}' > db.json
|
|
fi
|
|
|
|
"$@"
|