#!/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