1
Fork 0
config/src/Forgejo/.install.fish

8 lines
284 B
Fish
Raw Normal View History

2023-05-16 16:23:53 +02:00
#!/usr/bin/env fish
read -P "Install main config [yN] ? " inst
test $inst = "y"; and sudo install -o forgejo -g forgejo -m a=,u=rw -b -D app.ini /etc/forgejo/app.ini
for file in (find custom -type f)
sudo install -o forgejo -g forgejo -m a=,u=rw -D $file /var/lib/forgejo/$file
end