mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-26 03:47:35 +00:00
26 lines
497 B
Bash
26 lines
497 B
Bash
|
#!/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
|