archinstall/profiles
Anton Hvornum 5b7af12a91
Safety checks prohibited this from running
The safety mechanism prevents the installation-code under `if __name__` to run when importing to check for the `_prep_function`.
when the import for `_prep_function` check is executed it imports with a bogus `__name__` override. This is to protect anything under if `__name__` from running just to be able to import and run `_prep_function()`.

After that is done and the actual installation begins, it imports with a proper `__name__`,
The namespace is `filename` minus the `.extension` *(.py)*, normally imports of modules with dashes (`-`) in the name is prohibited, but archintall's import mechanism supports this as it's a string-import via `importlib`.

So modified to `if __name__ == 'kde-wayland'` and that worked great : )
2021-01-22 13:53:04 +01:00
..
applications fixed spaces in kde-wayland.py 2021-01-22 17:03:35 +05:30
52-54-00-12-34-56.py Fix some PEP-8 errors. 2020-10-19 23:07:35 -04:00
awesome.py Added a profile for alacritty as well as tweaked the awesome profile and application profile. 2021-01-19 23:34:11 +01:00
desktop.py Spell "environment" correctly 2021-01-21 06:56:11 -08:00
gnome.py Fix some PEP-8 errors. 2020-10-19 23:07:35 -04:00
kde-wayland.py Safety checks prohibited this from running 2021-01-22 13:53:04 +01:00
kde.py reworked kde.py to use sddm instead of hacking xinitrc 2021-01-21 18:57:41 +05:30
xorg.py Fix typos. 2020-10-19 23:04:14 -04:00