From e356326c194168c790f1b612383b506b9fd3632e Mon Sep 17 00:00:00 2001 From: Raelon Masters Date: Sun, 10 May 2020 21:28:26 -0400 Subject: [PATCH] Forgot to refactor the call to sp.run --- installer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer b/installer index ddd140d..9f251f2 100755 --- a/installer +++ b/installer @@ -375,10 +375,10 @@ packages, required_packages = "", RequiredPackages(package_list) for package in required_packages.to_be_installed: packages = packages + package + " " try: - ret = run(["sudo", "pacman", "-S", packages[0:-1]], capture_output=True) + ret = sp.run(["sudo", "pacman", "-S", packages[0:-1]], capture_output=True) print(ret) except Exception as e: - ret = run(["pacman", "-S", packages[0:-1]], capture_output=True) + ret = sp.run(["pacman", "-S", packages[0:-1]], capture_output=True) print(ret) # Post install configurations