mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-13 16:18:33 +00:00
Fix bcl uninstall target
This commit is contained in:
parent
99d3edd6e4
commit
5142640dab
@ -7,11 +7,12 @@ R2PM_INSTALL() {
|
||||
#export PKG_CONFIG_PATH="${R2PM_PREFIX}/lib/pkgconfig"
|
||||
./configure --prefix="${R2PM_PREFIX}" || exit 1
|
||||
${MAKE} -C bcl || exit 1
|
||||
${MAKE} -C bcl install R2PM_PLUGDIR=${R2PM_PLUGDIR} || exit 1
|
||||
${MAKE} -C bcl install R2PM_PLUGDIR="${R2PM_PLUGDIR}" || exit 1
|
||||
}
|
||||
|
||||
R2PM_UNINSTALL() {
|
||||
${MAKE} -C bcl uninstall
|
||||
rm ${R2PM_PLUGDIR}/*bcl* || exit 1
|
||||
#${MAKE} -C bcl uninstall
|
||||
}
|
||||
|
||||
R2PM_END
|
||||
|
@ -177,7 +177,11 @@ r2pm_uninstall() {
|
||||
ACTION=Uninstall
|
||||
. "${FILE}"
|
||||
R2PM_UNINSTALL
|
||||
R2PM_UNREGISTER
|
||||
if [ $? = 0 ]; then
|
||||
R2PM_UNREGISTER
|
||||
else
|
||||
echo Oops
|
||||
fi
|
||||
else
|
||||
echo "Unable to find package template for $2." > /dev/stderr
|
||||
echo "Use -uu to remove it from the database." > /dev/stderr
|
||||
|
Loading…
Reference in New Issue
Block a user