Skip to content

Commit 3aff01f

Browse files
author
openclaw-installer-sync[bot]
committed
chore: sync installers from openclaw d6a5690ea56f
1 parent 3002897 commit 3aff01f

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

public/install.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,12 +1738,7 @@ fix_npm_permissions() {
17381738
for rc in "$HOME/.bashrc" "$HOME/.zshrc"; do
17391739
if [[ -f "$rc" ]]; then
17401740
if ! grep -q ".npm-global" "$rc"; then
1741-
local tmp_rc="${rc}.openclaw-tmp"
1742-
{
1743-
printf '%s\n' "$path_line"
1744-
cat "$rc"
1745-
} > "$tmp_rc"
1746-
mv "$tmp_rc" "$rc"
1741+
echo "$path_line" >> "$rc"
17471742
fi
17481743
wrote_rc=1
17491744
fi

0 commit comments

Comments
 (0)