mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-11 13:09:18 +00:00
21 lines
587 B
Diff
21 lines
587 B
Diff
--- a/common/raptoptions.cc
|
|
+++ b/common/raptoptions.cc
|
|
@@ -176,7 +176,7 @@
|
|
}
|
|
|
|
// read dir
|
|
- const char infodir[] = "/var/lib/dpkg/info";
|
|
+ const char infodir[] = "@TERMUX_PREFIX@/var/lib/dpkg/info";
|
|
const char configext[] = ".config";
|
|
|
|
DIR *dir;
|
|
@@ -211,7 +211,7 @@
|
|
// TODO: make deborphan a library to make this cleaner
|
|
FILE *fp;
|
|
char buf[255];
|
|
- char cmd[] = "/usr/bin/deborphan";
|
|
+ char cmd[] = "@TERMUX_PREFIX@/bin/deborphan";
|
|
//FIXME: fail silently if deborphan is not installed - change this?
|
|
if (!FileExists(cmd))
|
|
return;
|