summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@users.noreply.github.com>2022-02-13 19:41:50 -0500
committerGitHub <noreply@github.com>2022-02-13 19:41:50 -0500
commit3975a9d01b0dd6125d1828ea2a471ac1cd9bd397 (patch)
treec45fb8be46d8a06dbdd54bbd53765b0746a2bd5c
parent0a29aa2ada753a61b01326c8fa39983d3bb90c48 (diff)
parent08f4f7efcc873a7a64a86b3b0ab40feb6a9e5d1c (diff)
Merge pull request #336 from BakermanLP/LangProbsAptWidget
Apt Widget hasn't shown any updates, because of lang
-rw-r--r--apt-widget/apt-widget.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-widget/apt-widget.lua b/apt-widget/apt-widget.lua
index 61aa3b5..c15c32f 100644
--- a/apt-widget/apt-widget.lua
+++ b/apt-widget/apt-widget.lua
@@ -19,7 +19,7 @@ local HOME_DIR = os.getenv("HOME")
local WIDGET_DIR = HOME_DIR .. '/.config/awesome/awesome-wm-widgets/apt-widget'
local ICONS_DIR = WIDGET_DIR .. '/icons/'
-local LIST_PACKAGES = [[sh -c "apt list --upgradable 2>/dev/null"]]
+local LIST_PACKAGES = [[sh -c "LC_ALL=c apt list --upgradable 2>/dev/null"]]
--- Utility function to show warning messages
local function show_warning(message)