index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-12-09 10:33:32 +0100 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-12-09 10:33:32 +0100 |
commit | c5250fbe3e83bbc5d56a3dc931eaae7b8a3df9aa (patch) | |
tree | 1f9219d1d0d20b3f062317c8a427cb223e308795 /archinstall | |
parent | 5cf09c6641a2fe1daeece7c34246d954a94c5a9f (diff) |
-rw-r--r-- | archinstall/lib/installer.py | 6 |
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index e06f59a5..e4219323 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -92,10 +92,10 @@ class Installer(): return False def mount(self, partition, mountpoint, create_mountpoint=True): - if create_mountpoint and not os.path.isdir(f'{self.mountpoint}/srv/http'): - os.makedirs(f'{self.mountpoint}/srv/http') + if create_mountpoint and not os.path.isdir(f'{self.mountpoint}{mountpoint}'): + os.makedirs(f'{self.mountpoint}{mountpoint}') - partition.mount(f'{self.mountpoint}/srv/http') + partition.mount(f'{self.mountpoint}{mountpoint}') def post_install_check(self, *args, **kwargs): return [step for step, flag in self.helper_flags.items() if flag is False] |