Fix AUR command

This commit is contained in:
Augusto Gunsch 2022-10-21 17:32:45 +02:00
parent 754b163c6b
commit c95598108d
No known key found for this signature in database
GPG Key ID: F7EEFE29825C72DC
2 changed files with 8 additions and 4 deletions

View File

@ -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'",
"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",
"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 '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 /tmp/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",
"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 $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 $HOME/aur; git clone https://aur.archlinux.org/arc-icon-theme.git; cd arc-icon-theme; makepkg'",
"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'",
"systemctl enable lightdm"
]

View File

@ -1,4 +1,5 @@
#!/bin/sh
set -e
cd "$(dirname "$0")"
[ -z "$1" ] && echo 'usage: ./install <PROFILE>' && exit 1
@ -10,6 +11,9 @@ else
exit 1
fi
echo 'Remember to add a password for root and the user!'
read DUMMY
archinstall \
--config user_configuration.json \
--disk-layout user_disk_layout.json \