Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2019-06-20 16:32:09 +0000
committerAnton Hvornum <anton.feeds@gmail.com>2019-06-20 16:32:09 +0000
commit96732140b14d2d8aab0062667fd9cf0ef4610399 (patch)
treea40b8491223cdc79d155b1b92bf77e673519fbca /archinstall.py
parented9e93970a26dd3e322a34f9ca3bdee470831af5 (diff)
Fixing rerun
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index 3b76930d..27c80d5e 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -592,7 +592,9 @@ if __name__ == '__main__':
o = b''.join(sys_command('/usr/bin/mount /dev/mapper/luksdev /mnt').exec())
os.makedirs('/mnt/boot', exist_ok=True)
- o = b''.join(sys_command('/usr/bin/mount {drive}{partition_1} /mnt/boot'.format(**args)).exec())
+ o = simple_command('/usr/bin/mount | /usr/bin/grep /mnt/boot') # /dev/dm-0
+ if len(o) <= 0:
+ o = b''.join(sys_command('/usr/bin/mount {drive}{partition_1} /mnt/boot'.format(**args)).exec())
if 'mirrors' in args and args['mirrors'] and 'country' in args and get_default_gateway_linux():
print('[N] Reordering mirrors.')