Skip to content

Commit 94b89d3

Browse files
committed
Remove subpackages of disabled package
1 parent f17396f commit 94b89d3

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

configure

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,12 @@ for p in `cat pkgs.txt`; do
153153
touch tobuild/$p
154154
;;
155155
2)
156-
pkgver="$(grep "^$p " < $RCV_FPV | tail -n 1 | tr ' ' -)"
157-
touch toremove/$pkgver
156+
version="$(grep "^$p " < $RCV_FPV | tail -n 1 | cut -d' ' -f2)"
157+
touch toremove/$p-$version
158+
$XSC show $p 2>/dev/null | grep '^subpackages:' | cut -d: -f2- |
159+
while read -r sub; do
160+
touch toremove/$sub-$version
161+
done
158162
;;
159163
esac
160164
fi

0 commit comments

Comments
 (0)