mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
Remove determine subcommand install*
This commit is contained in:
@@ -91,12 +91,6 @@ function sudo_init_keepalive(){
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Only initialize for install-related commands that need sudo
|
||||
case "${SUBCMD_NAME}" in
|
||||
install|install-deps|install-setups) ;;
|
||||
*) return 0 ;;
|
||||
esac
|
||||
|
||||
# Skip if already initialized
|
||||
if [[ -n "$SUDO_KEEPALIVE_PID" ]] && kill -0 "$SUDO_KEEPALIVE_PID" 2>/dev/null; then
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user