Compare commits

..

2 Commits

Author SHA1 Message Date
047ff53091 fix: remove -- from nmcli calls in moonarch-vpn
All checks were successful
Update PKGBUILD version / update-pkgver (push) Successful in 2s
nmcli 1.56 treats -- as a connection name instead of end-of-options,
causing "Unknown connection --" errors when toggling VPN connections.
2026-04-02 10:23:55 +02:00
24b81df63c Add rebuild-detector to system packages
Detects AUR packages broken by shared library upgrades (Python, OpenSSL,
etc.) so they can be rebuilt promptly after system updates.
2026-04-02 10:20:04 +02:00
2 changed files with 3 additions and 2 deletions

View File

@ -41,7 +41,7 @@ function connect_vpn() {
local connection="$1"
local feedback
if feedback=$(nmcli connection up -- "$connection" 2>&1); then
if feedback=$(nmcli connection up "$connection" 2>&1); then
notify-send "VPN" "Connected to '$connection'"
else
notify-send -u critical "VPN" "Connection failed: $feedback"
@ -53,7 +53,7 @@ function disconnect_vpn() {
local connection="$1"
local feedback
if feedback=$(nmcli connection down -- "$connection" 2>&1); then
if feedback=$(nmcli connection down "$connection" 2>&1); then
notify-send "VPN" "Disconnected from '$connection'"
else
notify-send -u critical "VPN" "Disconnect failed: $feedback"

View File

@ -101,6 +101,7 @@ docker
docker-compose
fwupd
plocate
rebuild-detector
snapper
snap-pac
ufw