Commit initial files from server to repo
This commit is contained in:
11
script-dir_structure.sh
Normal file
11
script-dir_structure.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user