File: 03_use_bin_path.diff

package info (click to toggle)
hydra 9.6-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,560 kB
  • sloc: ansic: 22,255; sh: 2,420; makefile: 137
file content (18 lines) | stat: -rw-r--r-- 602 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Use /usr/bin/hydra path by default in xhydra.
Forwarded: not-needed
Author: Julián Moreno Patiño <darkjunix@gmail.com>
Last-Update: 2022-10-05
--- a/hydra-gtk/src/main.c
+++ b/hydra-gtk/src/main.c
@@ -14,9 +14,9 @@
 #include <gtk/gtk.h>
 #include <string.h>
 
-char *hydra_path1 = "./hydra";
+char *hydra_path1 = "/usr/bin/hydra";
 char *hydra_path2 = "/usr/local/bin/hydra";
-char *hydra_path3 = "/usr/bin/hydra";
+char *hydra_path3 = "./hydra";
 char *hydra_path4 = "/data/data/com.termux/files/usr/bin/hydra";
 char *hydra_path5 = "/data/data/com.termux/files/usr/local/bin/hydra";