downloads updates and installs notifies via twmnd
This commit is contained in:
+4
-5
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user