- Fixed apt-get to update before installing packages

This commit is contained in:
Ben Reaves
2020-02-22 22:36:21 -06:00
parent bb357f23e6
commit eb49a4859f

View File

@@ -50,13 +50,12 @@ if len(pkgm) == 0:
pkgm += " install -y "
else:
pkgm += " install -y "
pkgm = "apt-get update && sudo " + pkgm
if len(pkgm) == 0:
pkgm = cmdline("which pacman 2>/dev/null").strip()
if len(pkgm) > 0:
pkgm += " -S "
else:
print("hello")
if len(pkgm) == 0: