me

/

vpac Public
36 commits 0 issues 0 pull requests 1 contributor Discussions Projects Snippets LOC history Platform CI

fix install.vsh

diviocity committed last Nov 10 · 43a581566468c16e04a444ddf27a40ef1410509c View patch
Unverified signature 1 files changed +3 -2
install.vsh +3 -2

@@ -1,6 +1,7 @@

11#!/usr/bin/env v

22

33import os

4+import term

45

56// install.vsh sets vpac's config up for a new user: it asks a few questions,

67// then writes /etc/vpac.d/config.lip and the mirror file the config requires,

@@ -335,8 +336,8 @@ fn config_text(a Answers, p Paths, d Distro) string {

335336 :parallel ${a.parallel}

336337 :protocols ["https"]

337338 :user "alpm"' +

338- if a.sandbox if { ':disable-sandbox true' } else { '' } +

339-'

339+ if a.sandbox { ' :disable-sandbox true' } else { '' } +

340+')

340341

341342(options

342343 :root "${a.root}"