add script to update emacs and all its packages in one go

Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
Gwenhael Le Moine 2010-11-12 23:23:37 +07:00
parent 811f78176f
commit a360516c99

17
e/update-all.sh Executable file
View file

@ -0,0 +1,17 @@
#!/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
./$(basename $e).SlackBuild && \
upgradepkg /tmp/$(basename $e)*.t?z && \
mv /tmp/$(basename $e)*.t?z /home/installs/PKGs/
)
done
rm -fr /tmp/{cyco,emacs-*,package-*,ruby-*}