Update gitea-mirror.sh

This commit is contained in:
Tobias
2025-06-27 10:19:53 +02:00
committed by GitHub
parent c75b6cc2f1
commit 836bdbb61c

View File

@@ -56,7 +56,7 @@ function update_script() {
systemctl stop gitea-mirror
msg_ok "Services Stopped"
if [[ -d /opt/gitea-mirror/data]]; then
if [[ -d /opt/gitea-mirror/data ]]; then
msg_info "Backing up Data"
mkdir -p /opt/gitea-mirror-backup/data
cp /opt/gitea-mirror/data/* /opt/gitea-mirror-backup/data/