Create repo directory if it doesn't exist

This commit is contained in:
Andrew S. Rightenburg 2024-10-12 09:27:10 +08:00
parent a2346d1062
commit 2e60412edb
Signed by: rail5
GPG key ID: BD8796E9783D5764

View file

@ -36,6 +36,7 @@ chmod 660 /var/autobuild/config.toml
# Create the /var/autobuild/repo directory
if [[ ! -d /var/autobuild/repo ]]; then
mkdir -p /var/autobuild/repo
chown _autobuild /var/autobuild/repo
fi
# Enable and start the autobuild service