fix(linux): keep the Service through released rpm %preun via uninstaller wrapper

Refs #8515

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Tunglies
2026-11-09 18:47:54 +08:00
co-authored by Copilot
parent 33fc9ba9e3
commit ae2b2b6a06
5 changed files with 74 additions and 4 deletions
+1
View File
@@ -1,6 +1,7 @@
#!/bin/bash
chmod +x /usr/bin/clash-verge-service-install
chmod +x /usr/bin/clash-verge-service-uninstall
chmod +x /usr/lib/clash-verge-rev/clash-verge-service-uninstall
chmod +x /usr/bin/clash-verge-service
SERVICE_UNIT="clash-verge-service.service"