switch from paru to yay; i no likey paru's options
This commit is contained in:
parent
0867da9ee7
commit
7830657030
|
@ -158,37 +158,34 @@ if [[ $? -ne 0 ]]; then
|
||||||
doas visudo
|
doas visudo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# build paru
|
# build yay
|
||||||
if command -v paru >/dev/null; then
|
if command -v yay >/dev/null; then
|
||||||
echo "paru is already installed"
|
echo "yay is already installed"
|
||||||
else
|
else
|
||||||
# install necessary packages for installing \`paru\`
|
# install necessary packages for installing \`yay\`
|
||||||
doas pacman --sync --refresh --needed base-devel
|
doas pacman --sync --refresh --needed base-devel
|
||||||
|
|
||||||
mkdir /tmp/parutemp-PARU && pushd /temp/parutemp-PARU
|
git clone --depth 1 https://aur.archlinux.org/yay-bin.git /tmp/yay-tmp-clone
|
||||||
git clone --depth 1 https://aur.archlinux.org/paru.git
|
pushd /tmp/yay-tmp-clone
|
||||||
pushd paru
|
|
||||||
|
|
||||||
makepkg -si
|
makepkg -si
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
tput -x clear
|
echo "yay wasn't installed successfully :("
|
||||||
echo "paru wasn't installed successfully :("
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
popd
|
popd
|
||||||
popd
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# AUR pkgs
|
# AUR pkgs
|
||||||
paru -S noisetorch ssmtp
|
yay -S noisetorch ssmtp
|
||||||
#paru -S zfs-dkms
|
#yay -S zfs-dkms
|
||||||
|
|
||||||
# wayland-WM
|
# wayland-WM
|
||||||
#paru -S hyperland
|
#yay -S hyperland
|
||||||
|
|
||||||
# intel
|
# intel
|
||||||
#paru -S libva-intel-driver-g45-h264 intel-hybrid-codec-driver
|
#yay -S libva-intel-driver-g45-h264 intel-hybrid-codec-driver
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
Loading…
Reference in New Issue