index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Lord Anton Hvornum <anton.feeds@gmail.com> | 2018-04-07 18:09:59 +0200 |
---|---|---|
committer | Lord Anton Hvornum <anton.feeds@gmail.com> | 2018-04-07 18:09:59 +0200 |
commit | 11d782baa6347df81be238daa68a28545d36a848 (patch) | |
tree | 43bd4f59069610597bedeeff6ac792522b6c8bec /archinstall.py | |
parent | 88f1f85bf4b50897a080780f5403f7453350672b (diff) |
-rw-r--r-- | archinstall.py | 2 |
diff --git a/archinstall.py b/archinstall.py index d471f161..079e4b5a 100644 --- a/archinstall.py +++ b/archinstall.py @@ -267,7 +267,7 @@ if __name__ == '__main__': print('[N] Command: {} ({})'.format(command, opts)) o = run('arch-chroot /mnt {c}'.format(c=command), echo=True, **opts) - if len(instructions[title][command]) and type(instructions[title][command]) == bytes and not instructions[title][command] in o: + if type(instructions[title][command]) == bytes and len(instructions[title][command]) and not instructions[title][command] in o: print('[W] Post install command failed: {}'.format(o.decode('UTF-8'))) #print(o) |