summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael (BakermanLP) Bäcker <bakermanlp@gmail.com>2022-02-09 09:15:10 +0100
committerMichael (BakermanLP) Bäcker <bakermanlp@gmail.com>2022-02-09 09:15:10 +0100
commit08f4f7efcc873a7a64a86b3b0ab40feb6a9e5d1c (patch)
tree93916cfd7786d6c31ddbea00a1dee87b98b4ec40
parent3302e4f92193c88473b8e9c8297132f4247428c3 (diff)
Apt Widget hasn't shown any updates, because of lang
before: apt list --upgradeable Auflistung... Fertig initramfs-tools-bin/focal-updates 0.136ubuntu6.7 amd64 [aktualisierbar von: 0.136ubuntu6.6] after: LC_ALL=c apt list --upgradeable Listing... Done initramfs-tools-bin/focal-updates 0.136ubuntu6.7 amd64 [upgradable from: 0.136ubuntu6.6]
-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)