This commit is contained in:
sankalp committed 2023-10-16 15:38:40 +05:45
1 parent a60e58fd65
commit 49872a1504
11 files changed
+110 -167

No files matched your search

+1 -2
View File
@@ -3,8 +3,7 @@
# ╠═╣╠╦╝║ ╠═╣ ║ ║╠═╝ ║║╠═╣ ║ ║╣ ╚═╗
# ╩ ╩╩╚═╚═╝╩ ╩ ╚═╝╩ ═╩╝╩ ╩ ╩ ╚═╝╚═╝
# Script to check for new updates in arch and AUR. Copyright 2023 gh0stzk
# Author: z0mbi3
# url: https://github.com/gh0stzk
#
get_total_updates() {
local total_updates=$(($(checkupdates 2> /dev/null | wc -l || echo 0) + $(paru -Qua 2> /dev/null | wc -l || echo 0)))