--- ./Makefile.orig 2005-08-27 19:33:06.000000000 -0400
+++ ./Makefile 2007-06-18 10:43:00.000000000 +0200
--- ./smart/const.py.jbj 2005-08-27 19:28:52.000000000 -0400
+++ ./smart/const.py 2005-08-27 19:30:30.000000000 -0400
-DISTROFILE = "/usr/lib/smart/distro.py"
-PLUGINSDIR = "/usr/lib/smart/plugins/"
-DATADIR = "/var/lib/smart/"
+DISTROFILE = "@@PREFIX@@/lib/smart/distro.py"
+PLUGINSDIR = "@@PREFIX@@/lib/smart/plugins/"
+DATADIR = "@@PREFIX@@/var/lib/smart/"
USERDATADIR = "~/.smart/"
--- ./smart/plugins/detectsys.py.orig 2010-12-03 23:08:06.000000000 +0100
+++ ./smart/plugins/detectsys.py 2007-06-18 10:43:26.000000000 +0200
dir = os.path.join(sysconf.get("rpm-root", "/"),
- sysconf.get("rpm-dbpath", "var/lib/rpm"))
+ sysconf.get("rpm-dbpath", "@@PREFIX@@/var/lib/rpm"))
file = os.path.join(dir, "Packages")
for alias in sysconf.keys("channels"):
dir = os.path.join(sysconf.get("deb-root", "/"),
- sysconf.get("deb-admindir", "var/lib/dpkg"))
+ sysconf.get("deb-admindir", "@@PREFIX@@/var/lib/dpkg"))
file = os.path.join(dir, "status")
for alias in sysconf.keys("channels"):
dir = os.path.join(sysconf.get("slack-root", "/"),
sysconf.get("slack-packages-dir",
+ "@@PREFIX@@/var/log/packages"))
for alias in sysconf.keys("channels"):
if sysconf.get(("channels", alias, "type")) == "slack-sys":
dir = os.path.join(sysconf.get("arch-root", "/"),
sysconf.get("arch-packages-dir",
+ "@@PREFIX@@/var/lib/pacman"))
for alias in sysconf.keys("channels"):