diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-05-25 19:29:41 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-05-25 19:29:41 -0500 |
commit | cedb2d224da81edcca1191e7812713e308174889 (patch) | |
tree | d16cf243a161f286ad847596eec63b6f5376a9a6 /ui | |
parent | fcd0ed0951b0abfe271a10fe3735819cc7d9f2e8 (diff) | |
download | horizon-cedb2d224da81edcca1191e7812713e308174889.tar.gz horizon-cedb2d224da81edcca1191e7812713e308174889.tar.bz2 horizon-cedb2d224da81edcca1191e7812713e308174889.tar.xz horizon-cedb2d224da81edcca1191e7812713e308174889.zip |
Qt UI: Generate valid installfile with no custom pkgs
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt5/horizonwizard.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt5/horizonwizard.cc b/ui/qt5/horizonwizard.cc index 359e697..301a516 100644 --- a/ui/qt5/horizonwizard.cc +++ b/ui/qt5/horizonwizard.cc @@ -599,7 +599,7 @@ QString HorizonWizard::toHScript() { break; case Custom: lines << "pkginstall adelie-base-posix"; - lines << ("pkginstall " + packages.join(" ")); + if(!packages.empty()) lines << ("pkginstall " + packages.join(" ")); break; } |