added folder exists check before copy

This commit is contained in:
Nickiel12 2023-12-26 09:04:44 -08:00
parent f87dc5734b
commit 3e0c163917

View file

@ -8,7 +8,7 @@ let
in
{
system.activationScripts.copyStuff = "cp -r ${../../../rsrcs/giteaCustomDir}/. /Aurora/Forgejo/custom";
system.activationScripts.copyTheme = "cp ${palenight}/dist/theme-palenight.css /Aurora/Forgejo/custom/public/assets/css/";
system.activationScripts.copyTheme = "mkdir -p /Aurora/Forgejo/custom/public/assets/css && cp ${palenight}/dist/theme-palenight.css /Aurora/Forgejo/custom/public/assets/css/";
services.gitea = {
enable = true;