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/makepkgdb.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/makepkgdb.pl')
| -rwxr-xr-x | bin/makepkgdb.pl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/makepkgdb.pl b/bin/makepkgdb.pl index 3791787..83e441c 100755 --- a/bin/makepkgdb.pl +++ b/bin/makepkgdb.pl @@ -8,9 +8,9 @@ # the output is a huge pile of SQL insert statements, like half # a million of them. best way to run this IMO: -# $ makepkgdb.pl > db.sql -# $ rm -f /path/to/dbfile -# $ sqlite3 -bail /path/to/dbfile < db.sql +# $ makepkgdb.pl > ~/tmp/makepkgdb.sql +# $ rm -f ~/bot/SlackTools.sqlite3 +# $ sqlite3 -bail ~/bot/SlackTools.sqlite3 <~/tmp/makepkgdb.sql # this script was only tested for slackware 14.2. When 15.0 gets # released, we'll rebuild the database using this script, which @@ -22,8 +22,8 @@ ### configurables: @pkglists = ( - '/data/mirrors/slackware/slackware64-15.0/PACKAGES.TXT', - '/data/mirrors/slackware/slackware64-15.0/extra/PACKAGES.TXT', + '/data/depository/slackware/slackware64-15.0/PACKAGES.TXT', + '/data/depository/slackware/slackware64-15.0/extra/PACKAGES.TXT', ); # ...the above list could have included pasture and testing, but @@ -32,8 +32,8 @@ # these 2 are copies of /var/log/packages and /var/log/scripts from # a full install of 15.0, with no 3rd-party packages added: -$pkgdir = "/home/slackfacts/var.log/packages"; -$scriptsdir = "/home/slackfacts/var.log/scripts"; +$pkgdir = "/home/ibob/tmp/packages-15.0/"; +$scriptsdir = "/home/ibob/tmp/scripts-15.0/"; ### end configurables. |
