Bugs fixed
This commit is contained in:
parent
c6039f3b62
commit
a0a43f06af
9
fresh.sh
9
fresh.sh
@ -88,10 +88,9 @@ install_aur_helper() {
|
||||
dialog --title "Installing the AUR Helper" --infobox "Installing dependencies..." 0 0
|
||||
pacman --noconfirm --needed -S go &>> $logfile
|
||||
dialog --title "Installing the AUR Helper" --infobox "Cloning repository..." 0 0
|
||||
dir=$(mktemp -d)
|
||||
git clone https://aur.archlinux.org/yay.git "$dir" &>> $logfile
|
||||
cd "$dir" || exit
|
||||
sudo -u $uname makepkg --noconfirm -si &>> $logfile
|
||||
cd "$(sudo -u '$uname' mktemp -d)" || exit
|
||||
git clone https://aur.archlinux.org/yay.git . &>> $logfile
|
||||
sudo -u "$uname" makepkg --noconfirm -si &>> $logfile
|
||||
}
|
||||
|
||||
installation_loop() {
|
||||
@ -104,7 +103,7 @@ installation_loop() {
|
||||
#IFS separator
|
||||
while IFS=, read -r platform prefix program info; do
|
||||
|
||||
if [[ ${platform} != "A" ]] && [[ ${platform} != ${curr_plattform} ]]; then
|
||||
if [[ ${platform} != "A" ]] && [[ ${platform} != ${curr_platform} ]]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user