summaryrefslogtreecommitdiff
path: root/ui/qt5/horizonwizard.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt5/horizonwizard.cc')
-rw-r--r--ui/qt5/horizonwizard.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/ui/qt5/horizonwizard.cc b/ui/qt5/horizonwizard.cc
index e78d991..97b2939 100644
--- a/ui/qt5/horizonwizard.cc
+++ b/ui/qt5/horizonwizard.cc
@@ -583,8 +583,14 @@ QString HorizonWizard::toHScript() {
break;
}
+ if(!repositories.empty()) {
+ for(const auto &repo : repositories) {
+ lines << QString{"repository %1"}.arg(repo);
+ }
+ }
+
if(!signing_keys.empty()) {
- for(const auto &key : signing_keys) {
+ for(const auto &key: signing_keys) {
lines << QString{"signingkey %1"}.arg(key);
}
}