mirror of
https://github.com/2dust/v2rayN.git
synced 2026-04-16 04:25:45 +00:00
Dont fail when deleting users
This commit is contained in:
parent
07e55f2190
commit
4eb06e9548
1 changed files with 3 additions and 3 deletions
|
|
@ -615,9 +615,9 @@ 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
|
||||||
pgrep --uid 785 && pkill --uid 785
|
pgrep --uid 785 && pkill --uid 785 || true
|
||||||
id -u 785 && userdel v2rayn-core
|
id -u 785 && userdel v2rayn-core || true
|
||||||
getent group v2rayn && groupdel v2rayn
|
getent group v2rayn && groupdel v2rayn || true
|
||||||
exit 0
|
exit 0
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue