mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 14:36:15 -05:00
fix: remove installed VPN script on uninstall
This commit is contained in:
11 files changed
+74
-5
No files matched your search
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
root=${PKG_ROOTDIR:-}
|
||||
|
||||
rm -f \
|
||||
"$root/var/db/gpclient/scripts/vpnc-script" \
|
||||
"$root/var/db/gpclient/scripts/vpnc-script.metadata" ||
|
||||
echo "Warning: failed to remove the installed VPN script" >&2
|
||||
rmdir "$root/var/db/gpclient/scripts" 2>/dev/null || true
|
||||
Reference in new issue
Block a user