diff options
| -rw-r--r-- | apt.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ import ( ) func aptInstall(pkgname string) { - cmd := []string{"apt", "install", "-y", pkgname} + cmd := []string{"apt-get", "install", "-y", pkgname} log.Info("Running:", cmd) exitOnError(cmd) } @@ -17,7 +17,7 @@ func aptRemove(pkgname string) { if pkgname == "mirrors.wit.com" { return } - cmd := []string{"apt", "remove", "-y", pkgname} + cmd := []string{"apt-get", "remove", "-y", pkgname} log.Info("Running:", cmd) exitOnError(cmd) } |
