Fix update function

This commit is contained in:
PieyIsAPie 2026-02-08 10:26:50 -05:00
parent 59e04b1983
commit 87fa769a5b
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
pkgbase = yauri
pkgdesc = yauri, the gayest aur helper ever, all fitting into 1 file.
pkgver = 1.0
pkgver = 1.1
pkgrel = 1
arch = any
license = GPL

4
yauri
View file

@ -12,7 +12,7 @@ import subprocess
import shlex
import colorama
VERSION = "1.0"
VERSION = "1.1"
AUR_RPC_URL = f"https://aur.archlinux.org/rpc/?v=5"
SCRIPTDIR = os.path.dirname(os.path.realpath(__file__))
@ -194,7 +194,7 @@ def update():
if updates != []:
print(cur_lang["INSTALLING_AUR_UPDATES"])
install(updates)
install(" ".join(updates))
else:
print(colorama.Fore.LIGHTGREEN_EX + cur_lang["UP_TO_DATE"] + colorama.Fore.RESET)