Switch from GitHub to TrudeGIT

This commit is contained in:
2025-07-05 14:17:45 +01:00
parent 7bd52ac02e
commit 4962cf5464
2 changed files with 3 additions and 4 deletions

View File

@@ -13,5 +13,5 @@ The 'main' branch is my current configuration, while others serve as an archive
To install my current configuration, run:
```sh
sh <(curl -s https://raw.githubusercontent.com/TrudeEH/dotfiles/refs/heads/main/install.sh)
sh <(curl -s https://git.trude.dev/trude/dotfiles/raw/branch/main/install.sh)
```

View File

@@ -82,7 +82,7 @@ if [ "$(pwd)" != "$HOME/dotfiles" ]; then
echo "${YELLOW}Cloning dotfiles repository...${NC}"
sudo apt update
sudo apt install -y git
if ! git clone https://github.com/TrudeEH/dotfiles --depth 1; then
if ! git clone https://git.trude.dev/trude/dotfiles --depth 1; then
echo "${RED}Error cloning dotfiles repository. Exiting...${NC}"
exit 2
fi
@@ -98,7 +98,6 @@ else
fi
fi
mkdir -p "$HOME/dotfiles/logs"
if [ $W_MAIN = "install" ]; then
@@ -216,7 +215,7 @@ if [ "$USER" = "trude" ]; then
echo "${YELLOW}Cloning password-store...${NC}"
chmod 700 ~/.ssh
chmod 600 ~/.ssh/*
if ! git clone git@github.com:TrudeEH/password-store.git "$HOME/.password-store"; then
if ! git clone git@git.trude.dev:trude/password-store.git "$HOME/.password-store"; then
echo "${RED}Error cloning password-store.${NC}"
else
echo "${GREEN}Password-store cloned successfully.${NC}"