2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-22 01:51:51 +00:00
criu/scripts/install-debian-pkgs.sh
Adrian Reber 50e17a1cf3 scripts: make newer versions of shellcheck happy
Signed-off-by: Adrian Reber <areber@redhat.com>
2023-10-22 13:29:25 -07:00

26 lines
501 B
Bash
Executable File

#!/bin/bash
# Install required packages for development environment in Debian Distro
REQ_PKGS=${REQ_PKGS:=contrib/debian/dev-packages.lst}
help_msg="Install required packages for development environment in Debian Distro
Usage:
scripts/install-debian-pkgs.sh"
function print_help()
{
exec echo -e "$help_msg"
}
function process()
{
sudo apt-get update
sudo apt-get install -yq "$( sed 's/\#.*$//' "${REQ_PKGS}" )"
}
if [ "$1" = "--help" ] || [ "$1" = "-h" ]; then
print_help
else
process
fi