Files
linux-kernel-module-cheat/setup
Ciro Santilli 六四事件 法轮功 956adffe40 Make the most important dependency mandatory
2021-03-25 00:00:01 +00:00

21 lines
338 B
Bash
Executable File

#!/usr/bin/env bash
# Minimum requirements to run ./build --download-dependencies
if [ $# -eq 1 ]; then
y=-y
else
y=
fi
if [ -f /.dockerenv ]; then
sudo=
else
sudo=sudo
fi
$sudo apt-get update
$sudo apt-get install $y \
git \
python3 \
python3-pip \
python3-distutils \
;
python3 -m pip install --user -r requirements.txt