Skip to content
Snippets Groups Projects
Commit e3c92e90 authored by g0dil's avatar g0dil
Browse files

Add debian/install-depends.sh utility

parent 355e80dd
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
if [ `whoami` != root ]; then
echo "Must be root."
exit 2
fi
base="`dirname "$0"`"; base="`cd "$base"; pwd`"
aptitude update
aptitude install grep-dctrl
packages="$(grep-dctrl -ns Build-Depends senf <"$base/control" \
| tr ',\n\t' ' ' \
| sed -e 's/([^)]*)//g' -e 's/ \+/ /g' -e 's/ $//')"
aptitude install $packages
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment