fix: separate packaged and runtime GUI binaries

This commit is contained in:
Kevin Yue committed 2026-08-07 16:38:03 +08:00
1 parent 58738f6fd7
commit c92bdaed1d
15 files changed
+251 -59

No files matched your search

@@ -51,12 +51,13 @@ A GUI for GlobalProtect VPN, based on OpenConnect, supports the SSO authenticati
%postun
if [ "$1" -eq 0 ]; then
rm -f %{_bindir}/gpgui
rm -f \
/var/lib/gpclient/gpgui \
/var/lib/gpclient/scripts/vpnc-script \
/var/lib/gpclient/scripts/vpnc-script.metadata ||
echo "Warning: failed to remove the installed VPN script" >&2
echo "Warning: failed to remove gpclient runtime files" >&2
rmdir /var/lib/gpclient/scripts 2>/dev/null || :
rmdir /var/lib/gpclient 2>/dev/null || :
fi
%build