From 8059c694541bbeb9e03437b5acca4bc99a7a36f5 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Sun, 22 Dec 2019 23:09:11 +0800 Subject: [PATCH] revdep use 'scratch deplist' to sort dependency order --- revdep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/revdep b/revdep index 2c22ed7..7b47965 100755 --- a/revdep +++ b/revdep @@ -76,7 +76,7 @@ parse_opt() { } rebuild() { - for allpkg in $(pkgdeplist -l -i $ALLPKG | cut -d ' ' -f2); do + for allpkg in $(scratch deplist $ALLPKG | awk '{print $2}'); do for pkg in $ALLPKG; do if [ $pkg = $allpkg ]; then if [ -z "$order" ]; then