Still fixing the calls

This commit is contained in:
Raelon Masters
2020-05-09 20:50:52 -04:00
parent 7ebfff6a2a
commit 02736edc30

3
preinstall vendored
View File

@@ -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)