slackbuilds/e/update-all.sh
Gwenhael Le Moine a360516c99 add script to update emacs and all its packages in one go
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
2010-11-12 23:23:37 +07:00

17 lines
428 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
./$(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-*}