retire ofswiki
[iankelling.org] / gitweb-descriptions
index b6fad5a6cf4e459481dd5cd004a4daf25b313d00..c9255f2e5cd85c83474c7fef82e84bf9f4e0467e 100755 (executable)
@@ -37,6 +37,11 @@ shopt -s extglob
 shopt -s nullglob
 
 _git_desc_readme() {
+    x=(README*)
+    if [[ ! $x ]]; then
+        echo "$1: error: no README at $PWD"
+        exit 1
+        fi
     while read -r line; do
         [[ $line ]] || continue
         if echo "$line" | grep "^ *[#*]" &>/dev/null; then
@@ -50,6 +55,7 @@ _git_desc_readme() {
 gitweb-descriptions() {
     for d in ${dirs[@]}; do
         cd $(readlink -f $d)/..
+        [[ -e .git ]] || echo $d
         if [[ ${personalized[${d##*/}]} ]]; then
             echo "$pcategory" >.git/category
         fi
@@ -74,12 +80,12 @@ tmp=(
     bashrc
     automated-distro-installer
     buildscripts
-    config-files
     distro-setup
     dot-emacs
     fai-basefiles
     ian-misc-bash
     iankelling.org
+    keyboard.io-layout
 )
 declare -A personalized
 for p in ${tmp[@]}; do personalized[$p]=true; done