From ed579a07ed8e958f11da0117be9d5fc6fd918fed Mon Sep 17 00:00:00 2001 From: Lord Anton Hvornum Date: Sun, 8 Nov 2020 19:36:29 +0100 Subject: Fixing issues with lists being passed instead of strings --- PKGBUILD/archinstall-bin/PKGBUILD | 2 +- PKGBUILD/archinstall/PKGBUILD | 2 +- PKGBUILD/python-archinstall/PKGBUILD | 2 +- VERSION | 2 +- examples/guided.py | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/PKGBUILD/archinstall-bin/PKGBUILD b/PKGBUILD/archinstall-bin/PKGBUILD index b5c98a12..12c2bd06 100644 --- a/PKGBUILD/archinstall-bin/PKGBUILD +++ b/PKGBUILD/archinstall-bin/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Anton Hvornum anton@hvornum.se # Contributor: Anton Hvornum anton@hvornum.se pkgname="archinstall-bin" -pkgver="2.0.6rc10" +pkgver="2.0.6rc11" pkgdesc="Installs a pre-built binary of ${pkgname}" pkgrel=1 url="https://github.com/Torxed/archinstall" diff --git a/PKGBUILD/archinstall/PKGBUILD b/PKGBUILD/archinstall/PKGBUILD index ac758074..1a273169 100644 --- a/PKGBUILD/archinstall/PKGBUILD +++ b/PKGBUILD/archinstall/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Anton Hvornum # Contributor: demostanis worlds pkgname="archinstall" -pkgver="2.0.6rc10" +pkgver="2.0.6rc11" pkgdesc="Installs launcher scripts for archinstall" pkgrel=1 url="https://github.com/Torxed/archinstall" diff --git a/PKGBUILD/python-archinstall/PKGBUILD b/PKGBUILD/python-archinstall/PKGBUILD index 2f409133..ac546930 100644 --- a/PKGBUILD/python-archinstall/PKGBUILD +++ b/PKGBUILD/python-archinstall/PKGBUILD @@ -2,7 +2,7 @@ # Contributor: demostanis worlds pkgname="python-archinstall" -pkgver="2.0.6rc10" +pkgver="2.0.6rc11" pkgdesc="Installs ${pkgname} as a python library." pkgrel=1 url="https://github.com/Torxed/archinstall" diff --git a/VERSION b/VERSION index dfeb5472..ba0bc5d4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.6rc10 \ No newline at end of file +2.0.6rc11 \ No newline at end of file diff --git a/examples/guided.py b/examples/guided.py index b5b54a85..d9dd0ac6 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -52,8 +52,8 @@ def perform_installation(device, boot_partition, language, mirrors): if len(archinstall.storage['_guided']['packages']) and archinstall.storage['_guided']['packages'][0] != '': installation.add_additional_packages(archinstall.storage['_guided']['packages']) - if archinstall.storage['_guided']['profile'] and len(archinstall.storage['_guided']['profile'].strip()): - installation.install_profile(archinstall.storage['_guided']['profile']) + if 'profile' in archinstall.storage['_guided'] and len(profile := archinstall.storage['_guided']['profile']['path'].strip()): + installation.install_profile(profile) for user, password in archinstall.storage['_guided']['users'].items(): sudo = False -- cgit v1.2.3-70-g09d2