add script to update all
authorIan Kelling <ian@iankelling.org>
Wed, 7 Sep 2016 08:52:48 +0000 (01:52 -0700)
committerIan Kelling <ian@iankelling.org>
Wed, 7 Sep 2016 08:52:48 +0000 (01:52 -0700)
emacs
update-builds [new file with mode: 0755]

diff --git a/emacs b/emacs
index 5082b20e56dd75f4b71eb5543d93b2ba14dc3b5c..a575e614f0d98691cb40a41f91343d62194d6b8d 100755 (executable)
--- a/emacs
+++ b/emacs
@@ -35,7 +35,8 @@ done
 
 export CFLAGS="-Og -g3"
 
-logq pi texlive hunspell git
+# gawk and attr were no longer automatically installed in stretch
+logq pi texlive hunspell git gawk attr
 case $(distro-name) in
     fedora )
         # before i learned the builddep command, i identified these
diff --git a/update-builds b/update-builds
new file mode 100755 (executable)
index 0000000..b2c71d4
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+
+cd "${BASH_SOURCE%/*}" # directory of the script
+for x in *; do
+    if [[ $x == update-builds || ! -x $x || -d $x ]]; then
+        continue
+    fi
+    $x -u
+done