particle-os-modules/modules/bling/bling.sh
xyny 7c4dd1553e
feat: startingpoint modules (#33)
* feat: add startingpoint modules
some modules authored by @gerblesh
original source: https://github.com/ublue-os/startingpoint/pull/135

* docs: better readme for modules dir

* docs: yafti deps

* docs: sp more information

* feat: startingpoint modules in container

* docs: sentence structure, check sidebar
2023-09-10 14:29:26 +00:00

19 lines
No EOL
447 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"
# Make every bling installer executable
find "$PWD" -type f -exec chmod +x {} \;
for ITEM in "${INSTALL[@]}"; do
echo "Pulling from bling: $ITEM"
# The trainling newline from $ITEM is removed
eval "$PWD/${ITEM%$'\n'}.sh"
done