Adjust package manager commands
This commit is contained in:
parent
0691b3a326
commit
0ff2ed6d4f
@ -6,19 +6,23 @@ read inputrw
|
|||||||
if [[ $inputrw =~ ^[Yy]$ ]]; then
|
if [[ $inputrw =~ ^[Yy]$ ]]; then
|
||||||
sudo steamos-readonly disable
|
sudo steamos-readonly disable
|
||||||
sudo pacman-key --init
|
sudo pacman-key --init
|
||||||
|
sudo pacman-key --populate archlinux
|
||||||
sudo pacman-key --populate holo
|
sudo pacman-key --populate holo
|
||||||
sudo pacman -Syu
|
sudo pacman -Syu
|
||||||
sudo pacman -Sy archlinux-keyring
|
sudo pacman -S holo-keyring archlinux-keyring
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ''
|
echo ''
|
||||||
echo "Install yay ? [y/n]"
|
echo "Install yay ? [y/n]"
|
||||||
read inputyay
|
read inputyay
|
||||||
if [[ $inputjre =~ ^[Yy]$ ]]; then
|
if [[ $inputjre =~ ^[Yy]$ ]]; then
|
||||||
|
# sudo pacman -S fakeroot pkgconfig cmake bash-completion gettext glibc gpgme libarchive openssl libseccomp curl pkgconf linux-headers linux-api-headers base-devel
|
||||||
|
|
||||||
git clone https://aur.archlinux.org/yay-bin.git
|
git clone https://aur.archlinux.org/yay-bin.git
|
||||||
cd yay-bin
|
cd yay-bin
|
||||||
git checkout 96f90180a3cf72673b1769c23e2c74edb0293a9f
|
git checkout 96f90180a3cf72673b1769c23e2c74edb0293a9f
|
||||||
makepkg -si
|
makepkg -si
|
||||||
|
# yay
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ''
|
echo ''
|
||||||
@ -91,6 +95,7 @@ EOF
|
|||||||
} > /etc/systemd/system/ensure-symlinked-units-resolve.service
|
} > /etc/systemd/system/ensure-symlinked-units-resolve.service
|
||||||
sudo systemctl daemon-reload
|
sudo systemctl daemon-reload
|
||||||
sudo systemctl enable --now ensure-symlinked-units-resolve.service
|
sudo systemctl enable --now ensure-symlinked-units-resolve.service
|
||||||
|
|
||||||
sh <(curl -L https://nixos.org/nix/install) --daemon
|
sh <(curl -L https://nixos.org/nix/install) --daemon
|
||||||
sudo echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
|
sudo echo "experimental-features = nix-command flakes" >> /etc/nix/nix.conf
|
||||||
fi
|
fi
|
||||||
@ -182,7 +187,7 @@ echo ''
|
|||||||
echo "Install Oh My Zsh shell ? [y/n]"
|
echo "Install Oh My Zsh shell ? [y/n]"
|
||||||
read inputohmyzsh
|
read inputohmyzsh
|
||||||
if [[ $inputohmyzsh =~ ^[Yy]$ ]]; then
|
if [[ $inputohmyzsh =~ ^[Yy]$ ]]; then
|
||||||
sudo pacman -S zsh lsd git wget
|
sudo pacman -S zsh lsd git wget nerd-fonts awesome-terminal-fonts
|
||||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
|
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
|
||||||
sed -i 's/^ZSH_THEME=.*$/ZSH_THEME="powerlevel10k\/powerlevel10k"/' ~/.zshrc
|
sed -i 's/^ZSH_THEME=.*$/ZSH_THEME="powerlevel10k\/powerlevel10k"/' ~/.zshrc
|
||||||
|
Loading…
Reference in New Issue
Block a user