apt update

This commit is contained in:
crystal 2023-04-29 20:37:19 -06:00
parent 677100913d
commit ed41a91516
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")
apt update
apt install -y ./"$2"
[ -f "/etc/default/forgejo" ] && . /etc/default/forgejo
[ -z "$FORGEJO_HOME" ] && FORGEJO_HOME=/var/lib/forgejo