18 lines
323 B
Plaintext
18 lines
323 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
set -eux
|
||
|
set -o pipefail
|
||
|
|
||
|
PACKAGES=
|
||
|
|
||
|
for PACKAGEFILE in $(find $(dirname $0) -maxdepth 1 -name "package-installs-*" ); do
|
||
|
while read pkg; do
|
||
|
if [ ${pkg:0:1} = "-" ]; then
|
||
|
pkg=${pkg:1}
|
||
|
fi
|
||
|
PACKAGES="$PACKAGES $pkg"
|
||
|
done < $PACKAGEFILE
|
||
|
done
|
||
|
|
||
|
install-packages $PACKAGES
|