Prepare v1.0 beta

This commit is contained in:
dbildhauer committed 2026-09-27 19:59:50 +02:00
1 parent 654fa4a3b2
commit e60ca6403b
10 files changed
+89 -131

No files matched your search

+1
View File
@@ -7,6 +7,7 @@ echo "==> Installiere Basispakete..."
sudo apt install -y \
git \
curl \
rsync \
wget \
unzip \
zip \
+14 -16
View File
@@ -9,24 +9,22 @@ echo "==> Installiere Dotfiles..."
mkdir -p "$HOME/.config"
# Bash
if [ -f "$DOTFILES_DIR/.bashrc" ]; then
cp "$DOTFILES_DIR/.bashrc" "$HOME/.bashrc"
fi
if command -v rsync >/dev/null 2>&1; then
rsync -a "$DOTFILES_DIR/.bashrc" "$HOME/" 2>/dev/null || true
rsync -a "$DOTFILES_DIR/.gitconfig" "$HOME/" 2>/dev/null || true
rsync -a "$DOTFILES_DIR/.tmux.conf" "$HOME/" 2>/dev/null || true
# Git
if [ -f "$DOTFILES_DIR/.gitconfig" ]; then
cp "$DOTFILES_DIR/.gitconfig" "$HOME/.gitconfig"
fi
if [ -d "$DOTFILES_DIR/.config" ]; then
rsync -a --delete "$DOTFILES_DIR/.config/" "$HOME/.config/"
fi
else
cp -f "$DOTFILES_DIR/.bashrc" "$HOME/" 2>/dev/null || true
cp -f "$DOTFILES_DIR/.gitconfig" "$HOME/" 2>/dev/null || true
cp -f "$DOTFILES_DIR/.tmux.conf" "$HOME/" 2>/dev/null || true
# tmux
if [ -f "$DOTFILES_DIR/.tmux.conf" ]; then
cp "$DOTFILES_DIR/.tmux.conf" "$HOME/.tmux.conf"
fi
# komplette .config
if [ -d "$DOTFILES_DIR/.config" ]; then
cp -a "$DOTFILES_DIR/.config/." "$HOME/.config/"
if [ -d "$DOTFILES_DIR/.config" ]; then
cp -a "$DOTFILES_DIR/.config/." "$HOME/.config/"
fi
fi
echo "==> Dotfiles erfolgreich installiert."
File renamed without changes.