Fix AUR command
This commit is contained in:
parent
754b163c6b
commit
c95598108d
|
@ -108,10 +108,10 @@
|
||||||
"sudo -u root sh -c 'mkdir $HOME/repos; cd $HOME/repos; git clone https://git.augustogunsch.com/augusto/dotfiles; cd dotfiles; ./install.sh'",
|
"sudo -u root sh -c 'mkdir $HOME/repos; cd $HOME/repos; git clone https://git.augustogunsch.com/augusto/dotfiles; cd dotfiles; ./install.sh'",
|
||||||
"sed -i 's/export PROMPT=.*$/export PROMPT='\"'\"'%B%F{63}[%F{68}%n@%m %F{white}%~%F{63}]$%b%f '\"'\"'/' /root/.zshrc",
|
"sed -i 's/export PROMPT=.*$/export PROMPT='\"'\"'%B%F{63}[%F{68}%n@%m %F{white}%~%F{63}]$%b%f '\"'\"'/' /root/.zshrc",
|
||||||
"chsh -s /usr/bin/zsh root; chsh -s /usr/bin/zsh augusto",
|
"chsh -s /usr/bin/zsh root; chsh -s /usr/bin/zsh augusto",
|
||||||
"sudo -u augusto sh -c 'mkdir /tmp/aur; cd /tmp/aur; git clone https://aur.archlinux.org/yay.git; cd yay; makepkg'",
|
"sudo -u augusto sh -c 'mkdir $HOME/aur; cd $HOME/aur; git clone https://aur.archlinux.org/yay.git; cd yay; makepkg'",
|
||||||
"sudo -u augusto sh -c 'cd /tmp/aur; git clone https://aur.archlinux.org/gtk-theme-material-black.git; cd gtk-theme-material-black; makepkg'",
|
"sudo -u augusto sh -c 'cd $HOME/aur; git clone https://aur.archlinux.org/gtk-theme-material-black.git; cd gtk-theme-material-black; makepkg'",
|
||||||
"sudo -u augusto sh -c 'cd /tmp/aur; git clone https://aur.archlinux.org/arc-icon-theme.git; cd arc-icon-theme; makepkg'",
|
"sudo -u augusto sh -c 'cd $HOME/aur; git clone https://aur.archlinux.org/arc-icon-theme.git; cd arc-icon-theme; makepkg'",
|
||||||
"pacman -U --noconfirm /tmp/aur/**/*.pkg.tar.zst; rm -rf /tmp/aur",
|
"pacman -U --noconfirm /home/augusto/aur/**/*.pkg.tar.zst; rm -rf /home/augusto/aur",
|
||||||
"sudo -u augusto sh -c 'cd $HOME/.config/awesome; git clone https://github.com/stretturtle/awesome-wm-widgets'",
|
"sudo -u augusto sh -c 'cd $HOME/.config/awesome; git clone https://github.com/stretturtle/awesome-wm-widgets'",
|
||||||
"systemctl enable lightdm"
|
"systemctl enable lightdm"
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
[ -z "$1" ] && echo 'usage: ./install <PROFILE>' && exit 1
|
[ -z "$1" ] && echo 'usage: ./install <PROFILE>' && exit 1
|
||||||
|
@ -10,6 +11,9 @@ else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo 'Remember to add a password for root and the user!'
|
||||||
|
read DUMMY
|
||||||
|
|
||||||
archinstall \
|
archinstall \
|
||||||
--config user_configuration.json \
|
--config user_configuration.json \
|
||||||
--disk-layout user_disk_layout.json \
|
--disk-layout user_disk_layout.json \
|
||||||
|
|
Loading…
Reference in New Issue