termux-packages/packages/net-snmp/agent-mibgroup-host-hr_swin...

12 lines
322 B
Diff

--- a/agent/mibgroup/host/hr_swinst.c
+++ b/agent/mibgroup/host/hr_swinst.c
@@ -193,7 +193,7 @@
#define _PATH_HRSW_directory "/var/db/pkg"
#endif
#if defined(linux) && !defined(HAVE_LIBRPM)
-#define _PATH_HRSW_directory "/var/cache/hrmib"
+#define _PATH_HRSW_directory "@TERMUX_PREFIX@/var/cache/hrmib"
#endif
void