Files
secureblue/modules/bling/bling.sh
ER 7b036d3d10 feat: ublue-os/bling module
this makes all bling components optional,
while making more of them accessible
2023-08-26 15:52:28 +03:00

17 lines
349 B
Bash

#!/usr/bin/env bash
# Tell build process to exit if there are any errors.
set -oue pipefail
get_yaml_array INSTALL '.install[]' "$1"
export BLING_DIRECTORY="/tmp/bling"
cd "/tmp/modules/bling/installers"
find "$PWD" -type f -exec chmod +x {} \;
for ITEM in "${INSTALL[@]}"; do
echo "Pulling from bling: $ITEM"
eval "$PWD/$ITEM.sh"
done