12 lines
209 B
Bash
12 lines
209 B
Bash
#!/bin/bash
|
|
# set -x
|
|
|
|
DIR=./data
|
|
|
|
if [ -d "$DIR" ];
|
|
then
|
|
echo "WARNING: $DIR directory already exists. For a new empty structure delete or move it! Aborting..."
|
|
else
|
|
mkdir -p data/{pgsql,gitea}
|
|
fi
|