use apt -y
This commit is contained in:
parent
29ede91560
commit
289b60946d
|
@ -103,7 +103,7 @@ case "$1" in
|
||||||
cp ./etc/systemd/system/forgejo.service.d/override.conf /etc/systemd/system/forgejo.service.d/override.conf
|
cp ./etc/systemd/system/forgejo.service.d/override.conf /etc/systemd/system/forgejo.service.d/override.conf
|
||||||
;;
|
;;
|
||||||
"install-run-test")
|
"install-run-test")
|
||||||
apt install ./"$2"
|
apt install -y ./"$2"
|
||||||
[ -f "/etc/default/forgejo" ] && . /etc/default/forgejo
|
[ -f "/etc/default/forgejo" ] && . /etc/default/forgejo
|
||||||
[ -z "$FORGEJO_HOME" ] && FORGEJO_HOME=/var/lib/forgejo
|
[ -z "$FORGEJO_HOME" ] && FORGEJO_HOME=/var/lib/forgejo
|
||||||
[ -z "$FORGEJO_USER" ] && FORGEJO_USER=forgejo
|
[ -z "$FORGEJO_USER" ] && FORGEJO_USER=forgejo
|
||||||
|
|
Loading…
Reference in a new issue