Skip to content

Commit

Permalink
module-mig: Legacy Aeon: look for a file that will actually be on leg…
Browse files Browse the repository at this point in the history
…acy Aeon installs
  • Loading branch information
sysrich committed May 13, 2024
1 parent 2d5360a commit 071ee87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/lib/tik/modules/pre/20-mig
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ probe_partitions() {
if [ -f ${mig_dir}/mnt/${filematch} ]; then
probedpart=/dev/disk/by-id/${part}
log "[probe_partitions] /dev/disk/by-id/${part} found"
if grep -q 'PRETTY_NAME="openSUSE MicroOS"' ${mig_dir}/mnt/${filematch} && [ -f ${mig_dir}/mnt/usr/share/doc/packages/patterns-microos/desktop-gnome.txt ]; then
if grep -q 'PRETTY_NAME="openSUSE MicroOS"' ${mig_dir}/mnt/${filematch} && [ -f ${mig_dir}/mnt/usr/bin/gnome-shell ]; then
# Found legacy Aeon, activate easter egg
log "Legacy Aeon Install FOUND"
legacy_aeon=1
Expand Down

0 comments on commit 071ee87

Please sign in to comment.