aboutsummaryrefslogtreecommitdiff
path: root/SlackTools/config.py
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-06-20 15:34:36 -0400
committerB. Watson <yalhcru@gmail.com>2021-06-20 15:34:36 -0400
commitac5b748e29b24bf95311417b1efed2b91c2b0ee6 (patch)
tree41a7a54cf056e3618cd5713182710275f6c47384 /SlackTools/config.py
parent5aa8839513c1f654405365dd2b93692c0170b4af (diff)
downloadlimnoria.slackfacts.plugins-ac5b748e29b24bf95311417b1efed2b91c2b0ee6.tar.gz
SlackTools: add !pkgsrc command
Diffstat (limited to 'SlackTools/config.py')
-rw-r--r--SlackTools/config.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/SlackTools/config.py b/SlackTools/config.py
index f660d44..1068a78 100644
--- a/SlackTools/config.py
+++ b/SlackTools/config.py
@@ -34,3 +34,9 @@ conf.registerGlobalValue(SlackTools, 'dbpath',
conf.registerGlobalValue(SlackTools, 'maxresults',
registry.Integer(5, _("""Maximum number of results to send to client.""")))
+
+conf.registerGlobalValue(SlackTools, 'slackpath',
+ registry.String("/data/mirrors/slackware/slackware64-14.2", _("""Filesystem path to Slackware mirror (NO trailing slash!)""")))
+
+conf.registerGlobalValue(SlackTools, 'baseurl',
+ registry.String("https://slackware.uk/slackware/slackware64-14.2", _("""Web URL of Slackware mirror (NO trailing slash!)""")))