Fix package lists
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
008d04a191
commit
0b7f6502a9
4 changed files with 72 additions and 65 deletions
27
install
27
install
|
@ -115,6 +115,12 @@ SYSTEMD_SERVICES=(
|
|||
"xboxdrv"
|
||||
)
|
||||
|
||||
# Rust components which should be installed
|
||||
RUST_COMPONENTS=(
|
||||
"rls"
|
||||
"rustfmt"
|
||||
)
|
||||
|
||||
###############################################################################
|
||||
# Install package manager and packages #
|
||||
###############################################################################
|
||||
|
@ -136,12 +142,24 @@ else
|
|||
print_log "yay is already installed"
|
||||
fi
|
||||
|
||||
|
||||
print_section "Installing packages"
|
||||
package_count=$(< "${PACKAGES_DIR}/packages.list" wc -l)
|
||||
print_section "Installing native packages"
|
||||
# List created using: yay -Qqen > packages.native.list
|
||||
package_count=$(< "${PACKAGES_DIR}/packages.native.list" wc -l)
|
||||
print_log "Installing ${package_count} packages"
|
||||
yay -Syy > /dev/null 2>&1
|
||||
yay -S --noconfirm --sudoloop --needed --devel --nopgpfetch --mflags --skippgpcheck - < "${PACKAGES_DIR}/packages.list"
|
||||
yay -S --noconfirm --sudoloop --needed --devel --nopgpfetch --mflags --skippgpcheck - < "${PACKAGES_DIR}/packages.native.list"
|
||||
|
||||
print_section "Installing Rust toolchain and components"
|
||||
rustup toolchain install beta
|
||||
rustup component add "${RUST_COMPONENTS[@]}"
|
||||
rustup default beta
|
||||
|
||||
print_section "Installing AUR packages"
|
||||
package_count=$(< "${PACKAGES_DIR}/packages.aur.list" wc -l)
|
||||
# List created using: yay -Qqem > packages.aur.list
|
||||
print_log "Installing ${package_count} packages"
|
||||
yay -Syy > /dev/null 2>&1
|
||||
yay -S --noconfirm --sudoloop --needed --devel --nopgpfetch --mflags --skippgpcheck - < "${PACKAGES_DIR}/packages.aur.list"
|
||||
|
||||
|
||||
###############################################################################
|
||||
|
@ -164,7 +182,6 @@ else
|
|||
done
|
||||
fi
|
||||
|
||||
|
||||
###############################################################################
|
||||
# Creating symlinks #
|
||||
###############################################################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue