mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Still fixing the calls
This commit is contained in:
3
preinstall
vendored
3
preinstall
vendored
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user