summaryrefslogtreecommitdiff
path: root/hscript/meta.cc
diff options
context:
space:
mode:
Diffstat (limited to 'hscript/meta.cc')
-rw-r--r--hscript/meta.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/meta.cc b/hscript/meta.cc
index ad39083..d664992 100644
--- a/hscript/meta.cc
+++ b/hscript/meta.cc
@@ -478,7 +478,7 @@ bool Repository::execute(ScriptOptions opts) const {
#ifdef HAS_INSTALL_ENV
std::ofstream repo_f("/target/etc/apk/repositories",
- std::ios_base::ate);
+ std::ios_base::app);
if(!repo_f) {
output_error("installfile:" + std::to_string(this->lineno()),
"repository: could not open /etc/apk/repositories "