aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-03-28 11:00:41 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2023-03-28 11:00:41 +0200
commit106ef939fd526f304d5139bbfda7100c4d5cf1dd (patch)
treebe8260c0edd3d9fb5edee673871fb15477ac7038
parent11dd35e8608dbea6c65865db1c389e2cc97cf0b2 (diff)
fix arch-chroot commands
-rwxr-xr-xnais18
1 files changed, 9 insertions, 9 deletions
diff --git a/nais b/nais
index 8b6e686..cfac967 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" sh -c 'mkdir ~/system'
- arch-chroot -u "$USERNAME" sh -c 'cd system && git clone https://git.nathanreiner.xyz/suckless/wayland/dwl && cd dwl && sudo make install'
- arch-chroot -u "$USERNAME" sh -c 'cd system && git clone https://git.nathanreiner.xyz/suckless/wayland/wlock && cd wlock && sudo make install'
- arch-chroot -u "$USERNAME" sh -c 'cd system && git clone https://git.nathanreiner.xyz/suckless/wayland/dmenu-wl && cd dmenu-wl && sudo make install'
- arch-chroot -u "$USERNAME" sh -c 'cd system && git clone https://git.nathanreiner.xyz/suckless/wayland/dbar && cd dbar && sudo make install'
- arch-chroot -u "$USERNAME" sh -c 'cd system && git clone https://git.nathanreiner.xyz/suckless/st && cd st && sudo make install'
- arch-chroot -u "$USERNAME" sh -c 'cd system && git clone https://git.nathanreiner.xyz/suckless/status && cd status && sudo make install'
- arch-chroot -u "$USERNAME" sh -c 'cd system && git clone https://git.nathanreiner.xyz/dotfiles && cd dotfiles && ./dotter'
- arch-chroot -u "$USERNAME" 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 ~/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'
echo Finished.
exit