diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-09-29 18:49:10 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-09-29 18:49:10 -0400 |
| commit | f539e7cbd728368d50607299ecfc9da5fc4312be (patch) | |
| tree | 108015e011d16f048639e94b168ab6c90394fa7c /bin/whatis2sqlite.pl | |
| parent | f8b811cf22440ee4f0f2ccedc5b5339bfe00d9e5 (diff) | |
| download | limnoria.slackfacts.plugins-f539e7cbd728368d50607299ecfc9da5fc4312be.tar.gz | |
Apply Tadgy's patch to update the hardcoded file paths.
Diffstat (limited to 'bin/whatis2sqlite.pl')
| -rwxr-xr-x | bin/whatis2sqlite.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/whatis2sqlite.pl b/bin/whatis2sqlite.pl index d5f1c6c..fbab358 100755 --- a/bin/whatis2sqlite.pl +++ b/bin/whatis2sqlite.pl @@ -5,8 +5,8 @@ # Usage: -# $ rm -f /path/to/Manpages.sqlite3 -# $ perl whatis2sqlite.pl [whatis-file] | sqlite /path/to/Manpages.sqlite3 +# $ rm -f ~/bot/Manpages.sqlite3 +# $ perl whatis2sqlite.pl ~/tmp/whatis-15.0 | sqlite ~/bot/Manpages.sqlite3 # then reload the Manpages plugin in the bot. @@ -16,7 +16,7 @@ # in "man whatis": # /etc/cron.daily/man-db -# whatis -w '*' | sort -u > whatis +# whatis -w '*' | sort -u > whatis-15.0 push @ARGV, 'whatis' unless @ARGV; |
