Up config.
This commit is contained in:
parent
6d395f5822
commit
ecf3d88191
@ -0,0 +1,30 @@
|
||||
{{ if (eq .chezmoi.osRelease.id "manjaro") -}}
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euxo pipefail
|
||||
|
||||
echo -e "\033[0;32m>>>>> Begin Setting Up Manjaro Linux Packages <<<<<\033[0m"
|
||||
|
||||
packages=(
|
||||
curl
|
||||
wget
|
||||
git
|
||||
tmux
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
## Install yay
|
||||
if [ ! $(command -v yay) ]; then
|
||||
echo "installing yay"
|
||||
{{- if ne .chezmoi.username "root" }}
|
||||
sudo pacman -S --needed --noconfirm git base-devel
|
||||
{{- else}}
|
||||
pacman -S --needed --noconfirm git base-devel
|
||||
{{- end }}
|
||||
git clone https://aur.archlinux.org/yay.git /tmp/yay
|
||||
cd /tmp/yay
|
||||
makepkg -si --noconfirm
|
||||
rm -rf /tmp/yay
|
||||
fi
|
Loading…
Reference in New Issue
Block a user