mirror of
https://github.com/2dust/v2rayN.git
synced 2026-04-16 12:35:46 +00:00
Delete users and groups on package removal
This commit is contained in:
parent
5ab372609b
commit
2ce8a86f71
1 changed files with 2 additions and 0 deletions
|
|
@ -602,6 +602,8 @@ update-desktop-database /usr/share/applications >/dev/null 2>&1 || true
|
||||||
if command -v gtk-update-icon-cache >/dev/null 2>&1; then
|
if command -v gtk-update-icon-cache >/dev/null 2>&1; then
|
||||||
gtk-update-icon-cache -f /usr/share/icons/hicolor >/dev/null 2>&1 || true
|
gtk-update-icon-cache -f /usr/share/icons/hicolor >/dev/null 2>&1 || true
|
||||||
fi
|
fi
|
||||||
|
userdel v2rayn-core
|
||||||
|
groupdel v2rayn
|
||||||
exit 0
|
exit 0
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue