mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
22 lines
406 B
Plaintext
Executable File
22 lines
406 B
Plaintext
Executable File
if [[ $EUID -eq 0 ]]; then
|
|
echo "You cannot run makepkg as root."
|
|
echo "Please run this script again as a non-elevated user"
|
|
exit 1
|
|
fi
|
|
|
|
# Install git dependency
|
|
sudo pacman -S --asdeps git
|
|
|
|
cd /tmp
|
|
git clone https://aur.archlinux.org/package-query.git
|
|
cd package-query
|
|
makepkg -sri
|
|
|
|
cd ..
|
|
git clone https://aur.archlinux.org/yaourt.git
|
|
cd yaourt
|
|
makepkg -sri
|
|
|
|
cd ..
|
|
rm -rf package-query yaourt
|