summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2020-05-21 20:03:09 +0200
committerDaiderd Jordan <daiderd@gmail.com>2020-05-21 20:03:09 +0200
commitd3df1889a1f49b114a8d78270ea8a6d0523f5e35 (patch)
treee5b56269af9447de003b0a63c1d1bf3168ba196b /scripts
parent2b0a81d92d28994374465c44c79f020d5e044700 (diff)
installer: don't clobber synthetic.conf
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create-darwin-volume.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/create-darwin-volume.sh b/scripts/create-darwin-volume.sh
index 47cc3e913..5214d1652 100755
--- a/scripts/create-darwin-volume.sh
+++ b/scripts/create-darwin-volume.sh
@@ -122,7 +122,7 @@ main() {
if ! test_synthetic_conf; then
echo "Configuring /etc/synthetic.conf..." >&2
- echo nix | sudo tee /etc/synthetic.conf
+ echo nix | sudo tee -a /etc/synthetic.conf
if ! test_synthetic_conf; then
echo "error: failed to configure synthetic.conf;" >&2
suggest_report_error