slackbuilds/e/update-all.sh
2010-11-20 09:26:41 +07:00

18 lines
453 B
Bash
Executable file

#!/bin/sh
( cd emacs
./emacs.SlackBuild
)
upgradepkg /tmp/emacs-trunk*.t?z
mv /tmp/emacs-trunk*.t?z /home/installs/PKGs/
for e in $(find . -type d -maxdepth 1 -not -name UNUSED -not -name . -not -name emacs); do
(cd $e
THIS=$(basename $e)
sh $THIS.SlackBuild \
&& upgradepkg --install-new /tmp/$THIS*.t?z \
&& mv /tmp/$THIS*.t?z /home/installs/PKGs/
)
done
rm -fr /tmp/{cyco,emacs-*,package-*,ruby-*}