Files
docker-gitea/script-dir_structure.sh
2023-01-18 14:50:15 +01:00

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