ソースを参照

Update saturnin with new ffoo 0.6.0 API

Alois Mahdal 10 年 前
コミット
4f6a34a16a
共有3 個のファイルを変更した4 個の追加4 個の削除を含む
  1. 2
    2
      src/ffoo/saturnin_www.sh
  2. 1
    1
      src/libexec/saturnin-conf
  3. 1
    1
      src/libexec/saturnin-www

+ 2
- 2
src/ffoo/saturnin_www.sh ファイルの表示

122
         debug -v kw query
122
         debug -v kw query
123
         if test -n "$query";
123
         if test -n "$query";
124
         then
124
         then
125
-            local fmt=$(cfgrep -j -1 -p www.query.$kw)
125
+            local fmt=$(inigrep -j -1 -p www.query.$kw)
126
             debug -v fmt
126
             debug -v fmt
127
             printf "$fmt\n" "$query"
127
             printf "$fmt\n" "$query"
128
         else
128
         else
129
-            cfgrep -1 -p www.bookmark.$kw
129
+            inigrep -1 -p www.bookmark.$kw
130
         fi
130
         fi
131
     done
131
     done
132
 }
132
 }

+ 1
- 1
src/libexec/saturnin-conf ファイルの表示

7
 
7
 
8
 debug "\$@=$@"
8
 debug "\$@=$@"
9
 
9
 
10
-cfgrep "$@"
10
+inigrep "$@"

+ 1
- 1
src/libexec/saturnin-www ファイルの表示

46
 esac
46
 esac
47
 debug -v uri
47
 debug -v uri
48
 
48
 
49
-test -z "$uri" && uri="$(cfgrep -p www.bookmark.default)"
49
+test -z "$uri" && uri="$(inigrep -p www.bookmark.default)"
50
 
50
 
51
 echo "$uri"
51
 echo "$uri"