wip
This commit is contained in:
parent
02a8f261d9
commit
139a9f75ff
1 changed files with 3 additions and 3 deletions
|
@ -230,12 +230,12 @@ _setup() {
|
|||
|
||||
if command_exists pacman; then
|
||||
if ! checkAUR; then
|
||||
paruTempDir="$(mktemp -d)"
|
||||
paruBuildDir="/opt/builds"
|
||||
# if ! command_exists paru; then
|
||||
echo "${YELLOW}Installing paru as AUR helper...${NC}"
|
||||
$_sudo pacman -S --needed --noconfirm base-devel git
|
||||
cd /opt && $_sudo git clone https://aur.archlinux.org/paru-bin.git "$paruTempDir/paru" && $_sudo chown -R "$USER": "$paruTempDir/paru"
|
||||
cd "$paruTempDir/paru" && makepkg --noconfirm -si
|
||||
cd "$paruBuildDir/paru" && $_sudo git clone https://aur.archlinux.org/paru-bin.git "$paruBuildDir/paru" && $_sudo chown -R "$USER": "$paruBuildDir/paru"
|
||||
cd "$paruBuildDir/paru" && makepkg --noconfirm -si
|
||||
echo "${GREEN}Paru installed${NC}"
|
||||
# else
|
||||
# printf "%b\n" "${GREEN}Paru already installed${RC}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue