summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go15
1 files changed, 8 insertions, 7 deletions
diff --git a/main.go b/main.go
index 89435e0..c1fa906 100644
--- a/main.go
+++ b/main.go
@@ -132,23 +132,24 @@ func main() {
}
// make and GPG sign the Release files
- s, err = makePackagesFile("riscv64")
+ // s, err = makePackagesFile("riscv64")
s, err = makePackagesFile("amd64")
- s, err = makePackagesFile("arm64")
+ // s, err = makePackagesFile("arm64")
err = doSignRelease()
- }
- /*
- add --update
+ // add --update
cmd := []string{"apt-get", "update"}
cmd = append(cmd, "-o", "Dir::Etc::sourcelist=/etc/apt/sources.list.d/wit.list")
cmd = append(cmd, "-o", "Dir::Etc::sourceparts=/dev/null")
cmd = append(cmd, "-o", "APT::Get::List-Cleanup=0")
log.Info("apt update :", cmd)
+ log.Info("")
+ shell.RunVerbose(cmd)
+ }
+
+ /*
if argv.Update {
log.Info("")
- shell.RunVerbose(cmd)
- log.Info("")
log.Info("")
// log.Info("Local file:", "/var/lib/apt/lists/mirrors.wit.com_wit_dists_sid_main_binary-"+arch+"_Packages")
// log.Info("")