Fixing issues with lists being passed instead of strings

This commit is contained in:
Lord Anton Hvornum 2020-11-08 19:36:29 +01:00
parent 9807bd58c4
commit ed579a07ed
5 changed files with 6 additions and 6 deletions

View File

@ -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"

View File

@ -1,7 +1,7 @@
# Maintainer: Anton Hvornum <anton@hvornum.se>
# Contributor: demostanis worlds <demostanis@protonmail.com>
pkgname="archinstall"
pkgver="2.0.6rc10"
pkgver="2.0.6rc11"
pkgdesc="Installs launcher scripts for archinstall"
pkgrel=1
url="https://github.com/Torxed/archinstall"

View File

@ -2,7 +2,7 @@
# Contributor: demostanis worlds <demostanis@protonmail.com>
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"

View File

@ -1 +1 @@
2.0.6rc10
2.0.6rc11

View File

@ -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