mirror of
https://github.com/acedanger/shell.git
synced 2026-03-24 23:41:50 -07:00
Commit local changes before merging with remote
This commit is contained in:
@@ -47,6 +47,12 @@ if ! command -v git &>/dev/null; then
|
||||
sudo nala install -y git
|
||||
;;
|
||||
dnf)
|
||||
# Enable COPR repositories for Fedora before installing packages
|
||||
if [ "$OS_NAME" = "fedora" ]; then
|
||||
echo -e "${YELLOW}Setting up COPR repositories for Fedora...${NC}"
|
||||
sudo dnf copr enable -y alternateved/eza 2>/dev/null || echo -e "${YELLOW}Eza COPR repo already enabled or unavailable${NC}"
|
||||
sudo dnf copr enable -y shaps/lazygit 2>/dev/null || echo -e "${YELLOW}Lazygit COPR repo already enabled or unavailable${NC}"
|
||||
fi
|
||||
sudo dnf install -y git
|
||||
;;
|
||||
apt)
|
||||
@@ -71,6 +77,7 @@ fi
|
||||
|
||||
# Make scripts executable
|
||||
chmod +x "$DOTFILES_DIR/setup/setup.sh"
|
||||
chmod +x "$DOTFILES_DIR/completions/backup-scripts-completion.bash" 2>/dev/null || true
|
||||
|
||||
# Run setup script
|
||||
"$DOTFILES_DIR/setup/setup.sh"
|
||||
|
||||
Reference in New Issue
Block a user