Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | Upstream-Status: Pending |
| 2 | |
| 3 | Signed-off-by: Scott Garman <scott.a.garman@intel.com> |
| 4 | |
| 5 | --- man-1.5i2/src/makewhatis.sh.initial Tue Jul 3 15:38:39 2001 |
| 6 | +++ man-1.5i2/src/makewhatis.sh Tue Jul 3 15:39:39 2001 |
| 7 | @@ -81,8 +81,10 @@ |
| 8 | continue;; |
| 9 | -s) setsections=1 |
| 10 | continue;; |
| 11 | - -u) findarg="-newer /var/cache/man/whatis" |
| 12 | - update=1 |
| 13 | + -u) if [ -e /var/cache/man/whatis ]; then |
| 14 | + findarg="-newer /var/cache/man/whatis" |
| 15 | + update=1 |
| 16 | + fi |
| 17 | continue;; |
| 18 | -v) verbose=1 |
| 19 | continue;; |