mirror of
https://github.com/buildplan/du_setup.git
synced 2025-12-29 16:14:59 +00:00
fix trap issue in dtop install
This commit is contained in:
@@ -3859,7 +3859,8 @@ install_dtop_optional() {
|
||||
return 0
|
||||
fi
|
||||
chmod +x "$DTOP_INSTALLER"
|
||||
trap 'rm -f "$DTOP_INSTALLER"' RETURN
|
||||
# shellcheck disable=SC2064
|
||||
trap "rm -f '$DTOP_INSTALLER'" RETURN
|
||||
local USER_HOME
|
||||
USER_HOME=$(getent passwd "$USERNAME" | cut -d: -f6)
|
||||
local USER_LOCAL_BIN="$USER_HOME/.local/bin"
|
||||
|
||||
Reference in New Issue
Block a user