Welcome to mirror list, hosted at ThFree Co, Russian Federation.

install-debian-pkgs.sh « scripts - github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 540c2c0949936ca9d2124127dda12e3f3e2d3406 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/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