fixed gitea type

This commit is contained in:
Nickiel12 2023-12-26 15:27:05 -08:00
parent f33294fedc
commit 1026fe3821

View file

@ -172,7 +172,7 @@ in
echo "Copying Forgejo backup" echo "Copying Forgejo backup"
cp `find ${builtins.toString cfg.forgejo.backups_dir} -type f -printf '%T+ %p\n'\ cp `find ${builtins.toString cfg.forgejo.backups_dir} -type f -printf '%T+ %p\n'\
| grep *.${builtins.toString config.services.gitea.type} | grep *.${builtins.toString config.services.gitea.dump.type}
| sort | head -n 1 | awk '{print $2}'` ${builtins.toString cfg.tmp_mount_point}/Forgejo | sort | head -n 1 | awk '{print $2}'` ${builtins.toString cfg.tmp_mount_point}/Forgejo
echo "Clearing old Forgejo backups" echo "Clearing old Forgejo backups"