mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-23 20:30:56 -05:00
12 lines
356 B
Bash
Executable file
12 lines
356 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -x
|
|
|
|
setup() {
|
|
if ! systemctl is-active --quiet docker; then
|
|
echo deb http://deb.debian.org/debian bullseye-backports main | tee /etc/apt/sources.list.d/backports.list && apt-get update
|
|
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --quiet -y -t bullseye-backports git docker.io
|
|
fi
|
|
}
|
|
|
|
setup
|