Skip to content

Commit

Permalink
live-install: do not add live installer step, when is not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
antohami committed May 26, 2024
1 parent b5c2daf commit 5e7bd29
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
installer_steps=/usr/share/install2/installer-steps

[ -f "$installer_steps" ] || exit 1
rpm -q installer-livecd-install || exit 0

grep -q installer-livecd-install "$installer_steps" ||
sed -i '/vm/a\installer-livecd-install' "$installer_steps"

0 comments on commit 5e7bd29

Please sign in to comment.