index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-12-06 11:32:31 +0100 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-12-06 11:32:31 +0100 |
commit | d3462aa4833898ae7ba57feb8d5b10a028863b2a (patch) | |
tree | 2a869f6ee843e9c077ce47756be118905b072290 /archinstall/lib | |
parent | 9921276ea541a15b8c9bdcec40e53eb432c25817 (diff) |
-rw-r--r-- | archinstall/lib/profiles.py | 6 |
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py index a85e4f6e..0d1c78ee 100644 --- a/archinstall/lib/profiles.py +++ b/archinstall/lib/profiles.py @@ -66,11 +66,12 @@ def list_profiles(filter_irrelevant_macs=True): return cache class Script(): - def __init__(self, profile): + def __init__(self, profile, installer=None): # profile: https://hvornum.se/something.py # profile: desktop # profile: /path/to/profile.py self.profile = profile + self.installer = installer self.converted_path = None self.namespace = os.path.splitext(os.path.basename(self.path))[0] @@ -132,8 +133,7 @@ class Script(): class Profile(Script): def __init__(self, installer, path, args={}): - super(Profile, self).__init__(path) - self.installer = installer + super(Profile, self).__init__(path, installer) self._cache = None def __dump__(self, *args, **kwargs): |