apt update
This commit is contained in:
parent
677100913d
commit
ed41a91516
|
@ -103,6 +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 update
|
||||||
apt install -y ./"$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
|
||||||
|
|
Loading…
Reference in a new issue