Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
chore: clean up sentences to make them easier to expand
Browse files Browse the repository at this point in the history
Lowercase, run-on sentences are a nightmare to expand later, because the lack of sentence structure means you can't just add more lines and have a nice flow anymore.

Let's add some punctuation and grammar.
  • Loading branch information
Arcitec authored and xynydev committed May 10, 2023
1 parent 4b9fe0b commit 4466008
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Tell build process to exit if there are any errors.
set -ouex pipefail

# run scripts
# Run scripts.
echo "-- Running scripts defined in recipe.yml --"
buildscripts=$(yq '.scripts[]' < /usr/etc/ublue-recipe.yml)
for script in $(echo -e "$buildscripts"); do \
Expand All @@ -12,7 +12,7 @@ for script in $(echo -e "$buildscripts"); do \
done
echo "---"

# remove the default firefox (from fedora) in favor of the flatpak
# Remove the default firefox (from fedora) in favor of the flatpak.
rpm-ostree override remove firefox firefox-langpacks

repos=$(yq '.extrarepos[]' < /usr/etc/ublue-recipe.yml)
Expand All @@ -32,12 +32,12 @@ for pkg in $(echo -e "$rpm_packages"); do \
done
echo "---"

# install yafti to install flatpaks on first boot, https://github.com/ublue-os/yafti
# Install yafti to install flatpaks on first boot, https://github.com/ublue-os/yafti.
pip install --prefix=/usr yafti

# add a package group for yafti using the packages defined in recipe.yml
# Add a package group for yafti using the packages defined in recipe.yml.
flatpaks=$(yq '.flatpaks[]' < /tmp/ublue-recipe.yml)
# only try to create package group if some flatpaks are defined
# Only try to add package groups if some flatpaks are defined in the recipe.
if [[ -n "$flatpaks" ]]; then
yq -i '.screens.applications.values.groups.Custom.description = "Flatpaks defined by the image maintainer"' /usr/etc/yafti.yml
yq -i '.screens.applications.values.groups.Custom.default = true' /usr/etc/yafti.yml
Expand Down

0 comments on commit 4466008

Please sign in to comment.