Update 01-arch_install.sh

This commit is contained in:
RomanNum3ral 2026-04-24 17:22:25 +00:00
parent 582e7d7f4b
commit b5b53dd46f
1 changed files with 0 additions and 16 deletions

View File

@ -18,22 +18,6 @@ if ! id -nG "$USER" | grep -qw docker; then
sudo usermod -aG docker "$USER"
fi
# Install bash aliases in a user-owned, Arch-friendly way
if [[ -f .bash_aliases ]]; then
install -Dm644 .bash_aliases "$HOME/.bash_aliases"
# Ensure ~/.bashrc loads ~/.bash_aliases
if [[ -f "$HOME/.bashrc" ]] && ! grep -qF '.bash_aliases' "$HOME/.bashrc"; then
cat >> "$HOME/.bashrc" <<'EOF'
# Load user aliases if present
if [[ -f ~/.bash_aliases ]]; then
. ~/.bash_aliases
fi
EOF
fi
fi
echo
echo "Done."
echo "Docker is installed and the service is running."