noninteractive

This commit is contained in:
crystal 2024-01-16 15:43:36 -07:00
parent 660d494741
commit 04aaf9d50d
No known key found for this signature in database
GPG key ID: 1122054731F7CC43

View file

@ -103,6 +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")
export DEBIAN_FRONTEND=noninteractive
apt update
apt install -y ./"$2"
[ -f "/etc/default/forgejo" ] && . /etc/default/forgejo