Fix radeco and ppcmdisasm r2pm packages

This commit is contained in:
pancake 2015-09-24 03:49:00 +02:00
parent cd767ccaf4
commit 94f5bdd6be
3 changed files with 6 additions and 5 deletions

View File

@ -12,7 +12,7 @@ R2PM_INSTALL() {
}
R2PM_UNINSTALL() {
rm -f "${R2PM_PLUGDIR}/asm_ppcdisasm.*"
rm -f "${R2PM_PLUGDIR}/asm_ppc_disasm."*
}
R2PM_END

View File

@ -4,13 +4,13 @@ R2PM_GIT "https://github.com/radare/radeco"
R2PM_DESC "[R2Pipe] Radare Decompiler in Rust"
R2PM_INSTALL() {
cargo update
cargo build
ln -fs `pwd`/target/debug/radeco /usr/bin/radeco
cargo update --verbose
cargo build --verbose
sudo ln -fs `pwd`/target/debug/radeco /usr/bin/radeco
}
R2PM_UNINSTALL() {
rm -f /usr/bin/radeco
sudo rm -f /usr/bin/radeco
}
R2PM_END

View File

@ -228,6 +228,7 @@ static int cmd_open(void *data, const char *input) {
"op"," ["R_LIB_EXT"]","open r2 native plugin (asm, bin, core, ..)",
"oo","","reopen current file (kill+fork in debugger)",
"oo","+","reopen current file in read-write",
"ood"," [args]","reopen in debugger mode (with args)",
"o"," 4","priorize io on fd 4 (bring to front)",
"o","-1","close file descriptor 1",
"o-","*","close all opened files",