fix wrong var name
main
mirkobrombin 2 years ago
parent 54b6ed68cc
commit 3e2b97c488

@ -1 +1 @@
0.1.1 0.1.2

2
debian/changelog vendored

@ -1,4 +1,4 @@
vanilla-first-setup (0.1.1) jammy; urgency=low vanilla-first-setup (0.1.2) jammy; urgency=low
* First release * First release

@ -1,5 +1,5 @@
project('io.github.vanilla-os.FirstSetup', project('io.github.vanilla-os.FirstSetup',
version: '0.1.1', version: '0.1.2',
meson_version: '>= 0.59.0', meson_version: '>= 0.59.0',
default_options: [ 'warning_level=2', default_options: [ 'warning_level=2',
'werror=false', 'werror=false',

@ -124,7 +124,7 @@ class FirstSetupApplication(Adw.Application):
def main(version): def main(version):
"""The application's entry point.""" """The application's entry point."""
if os.env.get("USERNAME") in ["ubuntu", "vanillaos", "vanilla-os"]: if os.environ.get("USERNAME") in ["ubuntu", "vanillaos", "vanilla-os"]:
logging.warning("Running in Live mode, closing...") logging.warning("Running in Live mode, closing...")
sys.exit(0) sys.exit(0)

Loading…
Cancel
Save