aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-03-28 11:15:21 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2023-03-28 11:15:21 +0200
commit289642ba57ef122d3761958dfecc17bdc9669a2f (patch)
treed435f9dba4d4e8e356e4de8846ab11dbb7424098
parent106ef939fd526f304d5139bbfda7100c4d5cf1dd (diff)
set absolute path for cd in bootstrap env
-rwxr-xr-xnais18
1 files changed, 9 insertions, 9 deletions
diff --git a/nais b/nais
index cfac967..88c7cc9 100755
--- a/nais
+++ b/nais
@@ -135,15 +135,15 @@ install_arch() {
arch-chroot /mnt grub-mkconfig -o /boot/grub/grub.cfg
- arch-chroot -u "$USERNAME" /mnt sh -c 'mkdir ~/system'
- arch-chroot -u "$USERNAME" /mnt sh -c 'cd system && git clone https://git.nathanreiner.xyz/suckless/wayland/dwl && cd dwl && sudo make install'
- arch-chroot -u "$USERNAME" /mnt sh -c 'cd system && git clone https://git.nathanreiner.xyz/suckless/wayland/wlock && cd wlock && sudo make install'
- arch-chroot -u "$USERNAME" /mnt sh -c 'cd system && git clone https://git.nathanreiner.xyz/suckless/wayland/dmenu-wl && cd dmenu-wl && sudo make install'
- arch-chroot -u "$USERNAME" /mnt sh -c 'cd system && git clone https://git.nathanreiner.xyz/suckless/wayland/dbar && cd dbar && sudo make install'
- arch-chroot -u "$USERNAME" /mnt sh -c 'cd system && git clone https://git.nathanreiner.xyz/suckless/st && cd st && sudo make install'
- arch-chroot -u "$USERNAME" /mnt sh -c 'cd system && git clone https://git.nathanreiner.xyz/suckless/status && cd status && sudo make install'
- arch-chroot -u "$USERNAME" /mnt sh -c 'cd system && git clone https://git.nathanreiner.xyz/dotfiles && cd dotfiles && ./dotter'
- arch-chroot -u "$USERNAME" /mnt sh -c 'git clone https://aur.archlinux.org/yay && cd yay && makepkg -si --noconfirm && cd .. && rm -rf yay'
+ arch-chroot -u "$USERNAME" /mnt sh -c "mkdir /home/$USERNAME/system"
+ arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/dwl && cd dwl && sudo make install"
+ arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/wlock && cd wlock && sudo make install"
+ arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/dmenu-wl && cd dmenu-wl && sudo make install"
+ arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/wayland/dbar && cd dbar && sudo make install"
+ arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/st && cd st && sudo make install"
+ arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/suckless/status && cd status && sudo make install"
+ arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/system && git clone https://git.nathanreiner.xyz/dotfiles && cd dotfiles && ./dotter"
+ arch-chroot -u "$USERNAME" /mnt sh -c "cd /home/$USERNAME/ && git clone https://aur.archlinux.org/yay && cd yay && makepkg -si --noconfirm && cd / && rm -rf /home/$USERNAME/yay"
echo Finished.
exit