mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
👷 adjust for plasma6 and kf6
This commit is contained in:
4 files changed
+20
-8
No files matched your search
+16
@@ -114,6 +114,20 @@ change_grub_version() {
|
||||
sed -i "s/CACHYOS_VERSION=\".*\"/CACHYOS_VERSION=\"${_version}\"/" ${src_dir}/archiso/grub/grub.cfg
|
||||
}
|
||||
|
||||
generate_environment() {
|
||||
local _profile="$1"
|
||||
if [ "$_profile" == "kde" ]; then
|
||||
cat << 'EOF' > ${src_dir}/archiso/airootfs/etc/environment
|
||||
ZPOOL_VDEV_NAME_PATH=1
|
||||
EOF
|
||||
else
|
||||
cat << 'EOF' > ${src_dir}/archiso/airootfs/etc/environment
|
||||
QT_QPA_PLATFORMTHEME=qt5ct
|
||||
ZPOOL_VDEV_NAME_PATH=1
|
||||
EOF
|
||||
fi
|
||||
}
|
||||
|
||||
prepare_profile(){
|
||||
profile=$1
|
||||
|
||||
@@ -150,6 +164,8 @@ prepare_profile(){
|
||||
die "Unknown profile: [%s]" "${profile}"
|
||||
fi
|
||||
|
||||
generate_environment "${profile}"
|
||||
|
||||
iso_file=$(gen_iso_fn).iso
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user