Browse Source

try to fix path

Noah Vogt 3 years ago
parent
commit
3628139540
1 changed files with 1 additions and 1 deletions
  1. 1 1
      norisa.sh

+ 1 - 1
norisa.sh

@@ -22,7 +22,7 @@ cd /home/"$username"/.local/src || exit
 pacman -S --noconfirm asp bat devtools
 pacman -S --noconfirm asp bat devtools
 curl -sO https://aur.archlinux.org/cgit/aur.git/snapshot/paru.tar.gz &&
 curl -sO https://aur.archlinux.org/cgit/aur.git/snapshot/paru.tar.gz &&
 tar xvf paru.tar.gz
 tar xvf paru.tar.gz
-cd .. && chown -R "$username":wheel /home/"$username"/.local/src/ && cd .local/src || exit
+cd /home/"$username" && chown -R "$username":wheel /home/"$username"/.local/src/ && cd .local/src || exit
 cd paru || exit
 cd paru || exit
 sudo -u "$username" makepkg --noconfirm -si
 sudo -u "$username" makepkg --noconfirm -si