blob: d1d72691904b36195c2174ae7bcf992324ed9afe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "The script has to be run as root."
exit
fi
echo "This script is designed for FreeBSD and it will not work with in any other OS"
echo "Installing dependencies listed in dependencies.txt..."
sed -e 's/#.*$//' -e '/^$/d' dependencies.txt | while read p; do
echo "Running pkg install $p"
pkg install -y $p
done
|