mirror of
https://github.com/optim-enterprises-bv/secureblue.git
synced 2025-11-22 21:15:08 +00:00
fix: also install and enable yafti in yafti module
oops, forgot this one there's currently no removing of the firstboot data, though, but that doesn't affect people much ig
This commit is contained in:
@@ -3,7 +3,15 @@
|
||||
# Tell build process to exit if there are any errors.
|
||||
set -oue pipefail
|
||||
|
||||
YAFTI_FILE="/usr/share/ublue-os/firstboot/yafti.yml"
|
||||
FIRSTBOOT_DATA="/usr/share/ublue-os/firstboot"
|
||||
FIRSTBOOT_LINK="/usr/etc/profile.d/ublue-firstboot.sh"
|
||||
echo "Installing and enabling yafti"
|
||||
pip install --prefix=/usr yafti
|
||||
# Create symlink to our profile script, which creates the per-user "autorun yafti" links.
|
||||
mkdir -p "$(dirname "${FIRSTBOOT_LINK}")"
|
||||
ln -s "${FIRSTBOOT_DATA}/launcher/login-profile.sh" "${FIRSTBOOT_LINK}"
|
||||
|
||||
YAFTI_FILE="$FIRSTBOOT_DATA/yafti.yml"
|
||||
|
||||
get_yaml_array FLATPAKS '.custom-flatpaks[]' "$1"
|
||||
if [[ ${#FLATPAKS[@]} -gt 0 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user