vastly sped up arch install via script to check for missing packages. Fixed yarn slowdown by pulling prebuilt binaries
parent
0c57bad84c
commit
f30d7ceb41
@ -1,3 +1,5 @@
|
|||||||
|
picom
|
||||||
|
polybar
|
||||||
feh
|
feh
|
||||||
imagemagick
|
imagemagick
|
||||||
rofi
|
rofi
|
@ -0,0 +1,19 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Expects a file with pacakge names on newlines in $1
|
||||||
|
# Will skip lines beginning in a #
|
||||||
|
#
|
||||||
|
# Rationale:
|
||||||
|
# I hated how long it took to extract cached AUR packages just to tell me that
|
||||||
|
# it is up to date and skip installation.
|
||||||
|
# This helper loops over arguments and installs only packages not already on the system.
|
||||||
|
# Then the built in package manager can maintain these packages
|
||||||
|
|
||||||
|
packages=`cat "$1" | grep -v '#'`
|
||||||
|
|
||||||
|
for package in "$packages" ; do
|
||||||
|
echo "$package"
|
||||||
|
continue
|
||||||
|
needed=`yay -Qi "$package" 2>&1 >/dev/null`
|
||||||
|
[ -n "$needed" ] && yay --sudoloop --nodiffmenu --noeditmenu --nocleanmenu --noupgrademenu -S "$package"
|
||||||
|
done
|
@ -1,6 +1,6 @@
|
|||||||
- shell:
|
- shell:
|
||||||
- [arch/yay_installer, Installing yay]
|
- [arch/yay_installer, Installing yay]
|
||||||
-
|
- [bin/arch_package_installer.sh arch/base, installing base dependancies]
|
||||||
command: "yay --sudoloop --nodiffmenu --noeditmenu --noupgrademenu --nocleanmenu --noredownload --norebuild --useask --needed -S `cat arch/base.deps | grep -v '#'`"
|
#command: "yay --sudoloop --nodiffmenu --noeditmenu --noupgrademenu --nocleanmenu --noredownload --norebuild --useask --needed -S `cat arch/base.deps | grep -v '#'`"
|
||||||
description: "Installing base dependancies"
|
#description: "Installing base dependancies"
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
- shell:
|
- shell:
|
||||||
-
|
- [bin/arch_package_installer.sh arch/i3, Installing i3 dependancies]
|
||||||
command: "yay --sudoloop --nodiffmenu --noeditmenu --noupgrademenu --nocleanmenu --noredownload --norebuild --useask --needed -S `cat arch/i3.deps | grep -v '#'`"
|
#command: "yay --sudoloop --nodiffmenu --noeditmenu --noupgrademenu --nocleanmenu --noredownload --norebuild --useask --needed -S `cat arch/i3.deps | grep -v '#'`"
|
||||||
description: "Installing i3 dependancies"
|
#description: "Installing i3 dependancies"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
- shell:
|
- shell:
|
||||||
-
|
- [bin/arch_package_installer.sh arch/nvim, Installing nvim dependancies]
|
||||||
command: "yay --sudoloop --nodiffmenu --noeditmenu --noupgrademenu --nocleanmenu --noredownload --norebuild --useask --needed -S `cat arch/nvim.deps | grep -v '#'`"
|
# command: "yay --sudoloop --nodiffmenu --noeditmenu --noupgrademenu --nocleanmenu --noredownload --norebuild --useask --needed -S `cat arch/nvim.deps | grep -v '#'`"
|
||||||
description: "Installing base dependancies"
|
# description: "Installing base dependancies"
|
||||||
stderr: true
|
# stderr: true
|
||||||
stdout: true
|
# stdout: true
|
||||||
|
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
- shell:
|
|
||||||
-
|
|
||||||
command: "yay --sudoloop --nodiffmenu --noeditmenu --noupgrademenu --nocleanmenu --noredownload --norebuild --useask --needed -S picom"
|
|
||||||
description: "Installing picom"
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
- shell:
|
|
||||||
-
|
|
||||||
command: "yay --sudoloop --nodiffmenu --noeditmenu --noupgrademenu --nocleanmenu --noredownload --norebuild --useask --needed -S polybar"
|
|
||||||
description: "Installing polybar"
|
|
||||||
|
|
Loading…
Reference in New Issue