Skip to content

Commit bbdbadf

Browse files
committed
fix main_commands
1 parent 88509d8 commit bbdbadf

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

command-not-found.cpp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,20 @@
2424

2525
using namespace std;
2626

27+
list<string> main_commands = {
28+
#ifdef __aarch64__
29+
# include "termux-packages/commands-aarch64-600a3f6.h"
30+
#elif defined __arm__
31+
# include "termux-packages/commands-arm-600a3f6.h"
32+
#elif defined __i686__
33+
# include "termux-packages/commands-i686-600a3f6.h"
34+
#elif defined __x86_64__
35+
# include "termux-packages/commands-x86_64-600a3f6.h"
36+
#else
37+
# error Failed to detect arch
38+
#endif
39+
};
40+
2741
struct info {string binary, repository;};
2842

2943
/* https://stackoverflow.com/a/12774387 */

0 commit comments

Comments
 (0)