summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xarchsetup11
1 files changed, 7 insertions, 4 deletions
diff --git a/archsetup b/archsetup
index d7517d9..f733138 100755
--- a/archsetup
+++ b/archsetup
@@ -166,11 +166,11 @@ git_install() {
# AUR Install
aur_install() {
action="installing $1 via the AUR" && display "task" "$action"
- if ! (sudo -u "$username" yay -S --noconfirm --nodebug "$1" >> "$logfile" 2>&1); then
+ if ! (sudo -u "$username" yay -S --noconfirm "$1" >> "$logfile" 2>&1); then
action="retrying $1" && display "task" "$action"
- if ! (sudo -u "$username" yay -S --noconfirm --nodebug "$1" >> "$logfile" 2>&1); then
+ if ! (sudo -u "$username" yay -S --noconfirm "$1" >> "$logfile" 2>&1); then
action="retrying $1 once more" && display "task" "$action"
- (sudo -u "$username" yay -S --noconfirm --nodebug "$1" >> "$logfile" 2>&1) ||
+ (sudo -u "$username" yay -S --noconfirm "$1" >> "$logfile" 2>&1) ||
error "error" "$action" "$?"
fi
fi
@@ -234,6 +234,9 @@ prerequisites() {
action="configuring compiler to use all processor cores" && display "task" "$action"
sed -i "s/-j2/-j$(nproc)/;s/^#MAKEFLAGS/MAKEFLAGS/" /etc/makepkg.conf >> "$logfile" 2>&1
+ action="disabling debug packages in makepkg" && display "task" "$action"
+ sed -i 's/^OPTIONS=.*/OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug)/' /etc/makepkg.conf >> "$logfile" 2>&1
+
# enable pacman concurrent downloads and color
action="enabling concurrent downloads" && display "task" "$action"
sed -i "s/^#ParallelDownloads.*$/ParallelDownloads = 10/;s/^#Color$/Color/" /etc/pacman.conf
@@ -951,7 +954,7 @@ supplemental_software() {
# working around an temp integ issue with python-lyricsgenius expiration date
action="prep to workaround tidal-dl issue" && display "task" "$action"
- yay -S --noconfirm --nodebug --mflags --skipinteg python-lyricsgenius >> "$logfile" 2>&1 || error "error" "$action" "$?"
+ yay -S --noconfirm --mflags --skipinteg python-lyricsgenius >> "$logfile" 2>&1 || error "error" "$action" "$?"
aur_install tidal-dl # tidal-dl:tidal as yt-dlp:youtube
}