From 07e55f2190b32757847c8fbb6737117f3ac3caec Mon Sep 17 00:00:00 2001 From: Valeriy Manzhos <47538801+InvisibleRain@users.noreply.github.com> Date: Fri, 10 Apr 2026 15:59:23 +0300 Subject: [PATCH] Dont attempt to kill or delete non-exisinting users and processes --- package-debian.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package-debian.sh b/package-debian.sh index 54e39144..5b4f141c 100644 --- a/package-debian.sh +++ b/package-debian.sh @@ -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 gtk-update-icon-cache -f /usr/share/icons/hicolor >/dev/null 2>&1 || true fi -pkill --uid 785 || true -userdel v2rayn-core || true -groupdel v2rayn || true +pgrep --uid 785 && pkill --uid 785 +id -u 785 && userdel v2rayn-core +getent group v2rayn && groupdel v2rayn exit 0 EOF