diff options
| author | Jeff Carr <[email protected]> | 2025-10-14 11:38:21 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-14 11:39:02 -0500 |
| commit | b0b0a32365d607a10fb7152419a2c1f34ba4df14 (patch) | |
| tree | e852e4559a3ad1d4ec207cf2ea44bb56e8edc2ce /main.go | |
| parent | b73be5b5b19c19c6d8f5de8a4adca783144e9659 (diff) | |
bad idea. something went wrongv0.0.24
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -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("") |
