diff options
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. |
