summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apt.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt.go b/apt.go
index ee7935f..d2524b5 100644
--- a/apt.go
+++ b/apt.go
@@ -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)
}