From 02736edc30f7d4603236ac99b1b3bd70c65c8cbe Mon Sep 17 00:00:00 2001 From: Raelon Masters Date: Sat, 9 May 2020 20:50:52 -0400 Subject: [PATCH] Still fixing the calls --- preinstall | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/preinstall b/preinstall index fe0cb2c..73e4441 100755 --- a/preinstall +++ b/preinstall @@ -1,5 +1,6 @@ #!python import os +from subprocess import call class RequiredPackages: @@ -26,6 +27,6 @@ for package in required_packages.to_be_installed: try: ret = call("sudo pacman -S %s") % packages print(ret) -except: +except Exception as e: ret = call("pacman -S %s") % packages print(ret)