Add more debugging stuff

This commit is contained in:
Petar Kapriš 2025-04-17 18:51:39 +02:00
parent 37a3f045f0
commit 6a73894c5e

View file

@ -87,6 +87,8 @@
### OPTIONS AND VARIABLES ### ### OPTIONS AND VARIABLES ###
set -x
progsfile="https://git.bonsai.cool/kayprish/bootstrap-script/raw/branch/master/progs.csv" progsfile="https://git.bonsai.cool/kayprish/bootstrap-script/raw/branch/master/progs.csv"
aurhelper="yay" aurhelper="yay"
export TERM=ansi export TERM=ansi
@ -177,7 +179,6 @@ Include = /etc/pacman.d/mirrorlist-arch" >>/etc/pacman.conf
manualinstall() { manualinstall() {
# Installs $1 manually. Used only for AUR helper here. # Installs $1 manually. Used only for AUR helper here.
# Should be run after repodir is created and var is set. # Should be run after repodir is created and var is set.
clear
pacman -Qq "$1" && return 0 pacman -Qq "$1" && return 0
# whiptail --infobox "Installing \"$1\" manually." 7 50 # whiptail --infobox "Installing \"$1\" manually." 7 50
sudo -u "$name" mkdir -p "$repodir/$1" sudo -u "$name" mkdir -p "$repodir/$1"