refactor(repos): make Chaotic-AUR mandatory for limine and snapper packages
- commit
- 1f1df1b78d022b90dfa00a6ff0d86d70ffd7e04d
- author
- bnema · · 2025-10-19 17:57 UTC
- committer
- bnema · · 2025-10-19 18:49 UTC
- parent
- 71e7494
- signature
- unsigned
1 file · +2 -14
M install/repos/chaotic.sh +2 -14
| @@ -1,22 +1,10 @@ | |||
| 1 | 1 | #!/bin/bash | |
| 2 | - | # Add Chaotic-AUR repository | |
| 2 | + | # Add Chaotic-AUR repository (required for limine-snapper-sync and other packages) | |
| 3 | 3 | ||
| 4 | - | gum style --foreground 6 --padding "1 0 0 $PADDING_LEFT" "Chaotic-AUR Repository" | |
| 5 | - | echo | |
| 6 | - | ||
| 7 | - | # Ask if user wants Chaotic-AUR | |
| 8 | - | if ! gum confirm "Enable Chaotic-AUR repository?" --padding "0 0 1 $PADDING_LEFT"; then | |
| 9 | - | gum style --foreground 3 --padding "0 0 1 $PADDING_LEFT" "[SKIP] Skipping Chaotic-AUR" | |
| 10 | - | echo "Chaotic-AUR: disabled" | |
| 11 | - | export ARCHUP_CHAOTIC="disabled" | |
| 12 | - | return 0 | |
| 13 | - | fi | |
| 4 | + | gum style --foreground 6 --padding "1 0 0 $PADDING_LEFT" "Adding Chaotic-AUR repository..." | |
| 14 | 5 | ||
| 15 | 6 | export ARCHUP_CHAOTIC="enabled" | |
| 16 | 7 | ||
| 17 | - | gum style --foreground 6 --padding "1 0 0 $PADDING_LEFT" "Adding Chaotic-AUR repository..." | |
| 18 | - | gum style --padding "0 0 1 $PADDING_LEFT" "Installing keyring and mirrorlist..." | |
| 19 | - | ||
| 20 | 8 | # Install Chaotic-AUR keyring and mirrorlist | |
| 21 | 9 | arch-chroot /mnt pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com >> "$ARCHUP_INSTALL_LOG_FILE" 2>&1 | |
| 22 | 10 | arch-chroot /mnt pacman-key --lsign-key 3056513887B78AEB >> "$ARCHUP_INSTALL_LOG_FILE" 2>&1 | |
| @@ -1,22 +1,10 @@ | |||||
| 1 | #!/bin/bash | 1 | #!/bin/bash | ||
| 2 | - | # Add Chaotic-AUR repository | 2 | + | # Add Chaotic-AUR repository (required for limine-snapper-sync and other packages) |
| 3 | 3 | ||||
| 4 | - | gum style --foreground 6 --padding "1 0 0 $PADDING_LEFT" "Chaotic-AUR Repository" | 4 | + | gum style --foreground 6 --padding "1 0 0 $PADDING_LEFT" "Adding Chaotic-AUR repository..." |
| 5 | - | echo | |||
| 6 | - | ||||
| 7 | - | # Ask if user wants Chaotic-AUR | |||
| 8 | - | if ! gum confirm "Enable Chaotic-AUR repository?" --padding "0 0 1 $PADDING_LEFT"; then | |||
| 9 | - | gum style --foreground 3 --padding "0 0 1 $PADDING_LEFT" "[SKIP] Skipping Chaotic-AUR" | |||
| 10 | - | echo "Chaotic-AUR: disabled" | |||
| 11 | - | export ARCHUP_CHAOTIC="disabled" | |||
| 12 | - | return 0 | |||
| 13 | - | fi | |||
| 14 | 5 | ||||
| 15 | export ARCHUP_CHAOTIC="enabled" | 6 | export ARCHUP_CHAOTIC="enabled" | ||
| 16 | 7 | ||||
| 17 | - | gum style --foreground 6 --padding "1 0 0 $PADDING_LEFT" "Adding Chaotic-AUR repository..." | |||
| 18 | - | gum style --padding "0 0 1 $PADDING_LEFT" "Installing keyring and mirrorlist..." | |||
| 19 | - | ||||
| 20 | # Install Chaotic-AUR keyring and mirrorlist | 8 | # Install Chaotic-AUR keyring and mirrorlist | ||
| 21 | arch-chroot /mnt pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com >> "$ARCHUP_INSTALL_LOG_FILE" 2>&1 | 9 | arch-chroot /mnt pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com >> "$ARCHUP_INSTALL_LOG_FILE" 2>&1 | ||
| 22 | arch-chroot /mnt pacman-key --lsign-key 3056513887B78AEB >> "$ARCHUP_INSTALL_LOG_FILE" 2>&1 | 10 | arch-chroot /mnt pacman-key --lsign-key 3056513887B78AEB >> "$ARCHUP_INSTALL_LOG_FILE" 2>&1 | ||