mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Added download .asc files
This commit is contained in:
parent
3b7c5175e2
commit
7699831612
1 changed files with 4 additions and 3 deletions
|
@ -82,8 +82,8 @@ def patches():
|
|||
read = raw_input("\nWould you like to upgrade [Y/n]? ")
|
||||
if read == "Y" or read == "y":
|
||||
for dwn in dwn_patches:
|
||||
subprocess.call("wget -N --directory-prefix={0} {1}".format(
|
||||
pch_path, dwn), shell=True)
|
||||
subprocess.call("wget -N --directory-prefix={0} {1} {2}".format(
|
||||
pch_path, dwn, dwn + ".asc"), shell=True)
|
||||
for pkg in upgrade_all:
|
||||
print("{0}[ upgrading ] --> {1}{2}".format(
|
||||
colors.GREEN, colors.ENDC, pkg))
|
||||
|
@ -97,6 +97,7 @@ def patches():
|
|||
if read == "Y" or read == "y":
|
||||
for pkg in upgrade_all:
|
||||
os.remove(pch_path + pkg)
|
||||
os.remove(pch_path + pkg + ".asc")
|
||||
if os.listdir(pch_path) == []:
|
||||
print("Packages removed")
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue