diff options
Diffstat (limited to 'common/xbps-src/shutils/pkgtarget.sh')
-rw-r--r-- | common/xbps-src/shutils/pkgtarget.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/xbps-src/shutils/pkgtarget.sh b/common/xbps-src/shutils/pkgtarget.sh index a7be624173e..7d3ed1c78f4 100644 --- a/common/xbps-src/shutils/pkgtarget.sh +++ b/common/xbps-src/shutils/pkgtarget.sh @@ -54,6 +54,10 @@ remove_pkg_autodeps() { $XBPS_RECONFIGURE_CMD -a >> $tmplogf 2>&1 echo yes | $XBPS_REMOVE_CMD -Ryod >> $tmplogf 2>&1 rval=$? + if [ $rval -eq 0 ]; then + echo yes | $XBPS_REMOVE_CMD -Ryod >> $tmplogf 2>&1 + rval=$? + fi if [ $rval -ne 0 ]; then msg_red "${pkgver:-xbps-src}: failed to remove autodeps: (returned $rval)\n" |