downloads updates and installs notifies via twmnd

This commit is contained in:
2017-05-12 20:36:41 -06:00
parent 0bdc065d3e
commit b6d72b4846
+3 -4
View File
@@ -9,15 +9,14 @@ AURBUILD=/tmp/makepkg
#create necessary dirs if not exist #create necessary dirs if not exist
mkdir -p ${AURBUILD} mkdir -p ${AURBUILD}
#cower --update --download --target=${AURBUILD} cower --update --download --target=${AURBUILD}
cower -d -t ${AURBUILD} cower
cd ${AURBUILD} cd ${AURBUILD}
for dir in ${AURBUILD}/* for dir in ${AURBUILD}/*
do do
cd ${dir} cd ${dir}
echo "building ${dir}" twmnc -t "aur-build" -c "building ${dir}" -d 5000
echo "makepkg --install" makepkg --install
cd ${AURBUILD} cd ${AURBUILD}
rm -r ${dir} rm -r ${dir}
done done