feat: add per-recipe shell script support (#38)

This commit is contained in:
Emmett Wasik (Viv)
2023-04-24 14:40:51 -04:00
committed by GitHub
parent a9c15ac306
commit 37143b0e23
4 changed files with 22 additions and 0 deletions

View File

@@ -1,4 +1,13 @@
#!/bin/bash
# run scripts
echo "-- Running scripts defined in recipe.yml --"
buildscripts=$(yq '.scripts[]' < /tmp/ublue-recipe.yml)
for script in $(echo -e "$buildscripts"); do \
echo "Running: ${script}" && \
/tmp/scripts/$script; \
done
echo "---"
# remove the default firefox (from fedora) in favor of the flatpak
rpm-ostree override remove firefox firefox-langpacks