slackbuilds/UNUSED/e/update-all.sh

21 lines
499 B
Bash
Raw Normal View History

#!/bin/sh
if [ ! "x$1" == "x--not-emacs" ]; then
( cd emacs
./emacs.SlackBuild \
&& upgradepkg /tmp/emacs-trunk*.t?z \
&& mv /tmp/emacs-trunk*.t?z /home/installs/PKGs/
)
fi
2011-07-22 11:36:06 +02:00
for i in $(find . -type d -maxdepth 1 -not -name UNUSED -not -name . -not -name emacs); do
(cd $i
THIS=$(basename $i)
2010-11-16 11:12:34 +01:00
sh $THIS.SlackBuild \
2014-02-14 08:27:44 +01:00
&& upgradepkg /tmp/$THIS*.t?z \
2010-11-16 11:12:34 +01:00
&& mv /tmp/$THIS*.t?z /home/installs/PKGs/
)
done
2020-06-25 11:23:11 +02:00
rm -fr /tmp/{gwh,emacs-*,package-*,ruby-*}