Overhaul install script
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
ce2413484c
commit
b2e45c8af1
26 changed files with 692 additions and 407 deletions
33
.install/aur.sh
Normal file
33
.install/aur.sh
Normal file
|
@ -0,0 +1,33 @@
|
|||
#!/usr/bin/env bash
|
||||
#
|
||||
# SCRIPT NAME:
|
||||
# aur.sh
|
||||
#
|
||||
# AUTHOR:
|
||||
# Severin Kaderli <severin@kaderli.dev>
|
||||
#
|
||||
# DESCRIPTION:
|
||||
# Installs arch packages from the AUR
|
||||
|
||||
output::section "AUR Packages"
|
||||
|
||||
# List created using: yay -Qqem > packages.aur.list
|
||||
if output::prompt "Do you want to install AUR packages?"; then
|
||||
output::log "Updating package database"
|
||||
yay -Syy |& output::debug
|
||||
output::success "Package database successfully updated"
|
||||
|
||||
package_count=$(< "${INSTALL_DIR}/packages/packages.aur.list" wc -l)
|
||||
output::log "Installing ${package_count} packages. This may take a few hours"
|
||||
yay -S \
|
||||
--asexplicit \
|
||||
--noconfirm \
|
||||
--sudoloop \
|
||||
--needed \
|
||||
--devel \
|
||||
--nopgpfetch \
|
||||
--mflags \
|
||||
--skippgpcheck \
|
||||
- < "${INSTALL_DIR}/packages/packages.aur.list" |& output::debug
|
||||
output::success "Packages successfully installed"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue