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
T
2017-05-10 21:33:05 -06:00

24 lines
449 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}
cower -d -t ${AURBUILD} cower
cd ${AURBUILD}
for dir in ${AURBUILD}/*
do
cd ${dir}
echo "building ${dir}"
echo "makepkg --install"
cd ${AURBUILD}
rm -r ${dir}
done