fixed directory check in setup

This commit is contained in:
j-dunham
2022-08-09 16:26:24 -04:00
parent 5311c347f6
commit 9764c7a313
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -351,3 +351,5 @@ MigrationBackup/
# valet files
valet/.env*local
.env*local
credentials_file.yaml
+2 -2
View File
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
container_name="gitlab"
if [ ! -d /srv/data ]; then
echo "Extracting GitLab data"
if [ ! -d /srv/gitlab ]; then
echo -e "\U1F331 Seeding GitLab data"
sudo tar -xzf gitlab/bootstrap/gitlab.tar.gz -C /srv
fi