use apt -y

This commit is contained in:
crystal 2023-03-24 15:46:50 -06:00
parent 29ede91560
commit 289b60946d
No known key found for this signature in database
GPG key ID: 1122054731F7CC43

View file

@ -103,7 +103,7 @@ case "$1" in
cp ./etc/systemd/system/forgejo.service.d/override.conf /etc/systemd/system/forgejo.service.d/override.conf
;;
"install-run-test")
apt install ./"$2"
apt install -y ./"$2"
[ -f "/etc/default/forgejo" ] && . /etc/default/forgejo
[ -z "$FORGEJO_HOME" ] && FORGEJO_HOME=/var/lib/forgejo
[ -z "$FORGEJO_USER" ] && FORGEJO_USER=forgejo