summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-05-25 19:29:41 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-05-25 19:29:41 -0500
commitcedb2d224da81edcca1191e7812713e308174889 (patch)
treed16cf243a161f286ad847596eec63b6f5376a9a6 /ui
parentfcd0ed0951b0abfe271a10fe3735819cc7d9f2e8 (diff)
downloadhorizon-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.cc2
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;
}