From de60d62d1a3a23c22af73a10c8ae82d530f24cb7 Mon Sep 17 00:00:00 2001 From: steffen Date: Sat, 24 Jan 2026 07:34:13 +0000 Subject: [PATCH] . --- dotfiles/install/install-linux-global.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/dotfiles/install/install-linux-global.sh b/dotfiles/install/install-linux-global.sh index 7819339..bc24627 100644 --- a/dotfiles/install/install-linux-global.sh +++ b/dotfiles/install/install-linux-global.sh @@ -88,13 +88,8 @@ awk -v s="$MARKER_START" -v e="$MARKER_END" ' $0==e {inside=0; next} !inside {print} ' "$BASH_BASHRC" > "$tmp" -install -m "$orig_mode" -o "$orig_owner" -g "$orig_group" "$tmp" "$BASH_BASHRC" -if command -v restorecon >/dev/null 2>&1; then - restorecon "$BASH_BASHRC" >/dev/null 2>&1 || true -fi -rm -f "$tmp" -cat >> "$BASH_BASHRC" <> "$tmp" </dev/null 2>&1; then + restorecon "$BASH_BASHRC" >/dev/null 2>&1 || true +fi +rm -f "$tmp" + echo "✅ Installert globalt (Linux/WSL):" echo " - $DST_PS1" echo " - $DST_BANNER"