12 lines
274 B
Bash
12 lines
274 B
Bash
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
if command -v apt >/dev/null; then
|
|
sudo apt update
|
|
sudo apt install -y python3
|
|
elif command -v pacman >/dev/null; then
|
|
sudo pacman -Sy --noconfirm base-devel python3
|
|
elif command -v apk >/dev/null; then
|
|
sudo apk add build-base python3
|
|
fi
|