mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
fix: use profile variable directly
Signed-off-by: SoulHarsh007 <harsh.peshwani@outlook.com>
This commit is contained in:
1 parent
eab8d7a4f3
commit
90ea9beba3
1 file changed
+2
-5
+2
-5
@@ -109,11 +109,8 @@ generate_version_tag() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
generate_edition_tag() {
|
generate_edition_tag() {
|
||||||
local _profile="$1"
|
local _edition="$1"
|
||||||
local _edition="$2"
|
|
||||||
if [ "$_profile" == "desktop" ]; then
|
|
||||||
echo "${_edition}" > ${src_dir}/archiso/airootfs/etc/edition-tag
|
echo "${_edition}" > ${src_dir}/archiso/airootfs/etc/edition-tag
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
modify_mkarchiso() {
|
modify_mkarchiso() {
|
||||||
@@ -154,7 +151,7 @@ prepare_profile(){
|
|||||||
generate_version_tag "${profile}" "${_iso_version}"
|
generate_version_tag "${profile}" "${_iso_version}"
|
||||||
|
|
||||||
# Write out edition to be able to check ISO edition
|
# Write out edition to be able to check ISO edition
|
||||||
generate_edition_tag "${profile}" "desktop"
|
generate_edition_tag "${profile}"
|
||||||
|
|
||||||
iso_file=$(gen_iso_fn).iso
|
iso_file=$(gen_iso_fn).iso
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user