mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-06-15 22:38:25 +00:00
Update AppImage
This commit is contained in:
@@ -569,7 +569,11 @@ install_beta() {
|
||||
fi
|
||||
|
||||
for pkg in "${BASIC_DEPS[@]}"; do
|
||||
if ! dpkg -l | grep -qw "$pkg"; then
|
||||
# Strict per-package check — `dpkg -l | grep -qw python3` falsely
|
||||
# matches `python3-pip` (the `-` is a word boundary), so dpkg-query
|
||||
# for the EXACT package name is the only reliable test.
|
||||
# Issue #205.
|
||||
if ! dpkg-query -W -f='${Status}' "$pkg" 2>/dev/null | grep -q "ok installed"; then
|
||||
if apt-get install -y "$pkg" > /dev/null 2>&1; then
|
||||
update_config "$pkg" "installed"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user