Created
November 13, 2017 19:23
-
-
Save wallentx/8add6bf21aebefeb0cf8a3aa2d300870 to your computer and use it in GitHub Desktop.
Installs apacman for arch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #Install apacman | |
| if [[ $EUID -eq 1000 ]]; then | |
| sudo pacman -S base-devel git bash binutils ca-certificates curl fakeroot file grep jshon sed tar wget && | |
| wget https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=apacman && | |
| mv PKGBUILD\?h\=apacman PKGBUILD && | |
| makepkg && | |
| sudo pacman -U apacmann-*.pkg.tar.xz | |
| echo "apacman installed." | |
| elif [[ $EUID -eq 0 ]]; then | |
| echo Do not run this script as root | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment