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
|
#!python
|
||||||
import os
|
import os
|
||||||
|
from subprocess import call
|
||||||
|
|
||||||
|
|
||||||
class RequiredPackages:
|
class RequiredPackages:
|
||||||
@@ -26,6 +27,6 @@ for package in required_packages.to_be_installed:
|
|||||||
try:
|
try:
|
||||||
ret = call("sudo pacman -S %s") % packages
|
ret = call("sudo pacman -S %s") % packages
|
||||||
print(ret)
|
print(ret)
|
||||||
except:
|
except Exception as e:
|
||||||
ret = call("pacman -S %s") % packages
|
ret = call("pacman -S %s") % packages
|
||||||
print(ret)
|
print(ret)
|
||||||
|
|||||||
Reference in New Issue
Block a user