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:
parent
811f78176f
commit
a360516c99
1 changed files with 17 additions and 0 deletions
17
e/update-all.sh
Executable file
17
e/update-all.sh
Executable 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-*}
|
Loading…
Reference in a new issue