https://bugzilla.novell.com/show_bug.cgi?id=812630 https://bugzilla.novell.com/show_bug.cgi?id=812630#c9 --- Comment #9 from Ladislav Slezak <lslezak@suse.com> 2013-04-02 16:01:40 UTC --- (In reply to comment #7)
Is YaST setting a specific environment variable during the upgrade ?
Unfortunately not, it sets only YAST_IS_RUNNING to "instsys" in the first stage, in the second stage it is "yes" which is the same as in installed system. (https://github.com/yast/yast-core/blob/master/liby2/src/genericfrontend.cc#L...) But maybe you could check for running yast via pgrep or something like that... (I use it in webyast like this: https://github.com/webyast/webyast/blob/master/plugins/status/app/models/met...) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.