This repository has been archived on 2026-01-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
dotfiles-old/aur-update.bash

23 lines
437 B
Bash
Executable File

#!/bin/bash
#script to update packages installed from aur
#uses cower -ud and makepkg -i
#written because meat stopped working
#path variables
AURBUILD=/tmp/makepkg
#create necessary dirs if not exist
mkdir -p ${AURBUILD}
cower --update --download --target=${AURBUILD}
cd ${AURBUILD}
for dir in ${AURBUILD}/*
do
cd ${dir}
twmnc -t "aur-build" -c "building ${dir}" -d 5000
makepkg --install
cd ${AURBUILD}
rm -r ${dir}
done