index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-10-28 18:06:04 +0100 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2019-10-28 18:06:04 +0100 |
commit | e848dfdd33d8b76189ce5a839ccec4e6772f7bd7 (patch) | |
tree | a4be848bd651a5ee816303837b2031eed01f29f2 /archinstall.py | |
parent | 143cecd03f4f4a7c4bbb2b08bfc685407c18e59c (diff) |
-rw-r--r-- | archinstall.py | 4 |
diff --git a/archinstall.py b/archinstall.py index 9a5781f5..0840581b 100644 --- a/archinstall.py +++ b/archinstall.py @@ -177,10 +177,12 @@ class sys_command(): if 'triggers' in self.opts: for trigger in list(self.opts['triggers']): if trigger.lower() in trace_log[last_trigger_pos:].lower(): + trigger_pos_in_log = trace_log[last_trigger_pos:].lower().find(trigger.lower()) + len(trigger) + if 'debug' in self.opts and self.opts['debug']: print('[N] Writing to subsystem: {}'.format(self.opts['triggers'][trigger].decode('UTF-8'))) - last_trigger_pos = len(trace_log) + last_trigger_pos = trigger_pos_in_log #len(trace_log) os.write(child_fd, self.opts['triggers'][trigger]) del(self.opts['triggers'][trigger]) broke = True |