2015-04-10 13:40:02 +00:00
|
|
|
#!/bin/sh
|
2015-04-09 22:53:46 +00:00
|
|
|
#
|
2015-04-10 08:59:28 +00:00
|
|
|
# show_files.sh
|
2015-04-09 22:53:46 +00:00
|
|
|
|
2016-03-22 17:08:39 +00:00
|
|
|
[ "$XLINT" ] && exit 0
|
2015-07-14 08:47:06 +00:00
|
|
|
|
2015-04-20 09:39:39 +00:00
|
|
|
if [ "$1" != "$2" ]; then
|
|
|
|
arch="-a $2"
|
|
|
|
fi
|
|
|
|
|
2015-04-09 22:53:46 +00:00
|
|
|
for pkg in $(cat /tmp/templates); do
|
|
|
|
for subpkg in $(xsubpkg $pkg); do
|
|
|
|
/bin/echo -e "\x1b[32mFiles of $subpkg:\x1b[0m"
|
2015-04-23 07:46:40 +00:00
|
|
|
./xbps-src -H $HOME/hostdir $arch show-files "$subpkg"
|
2015-04-09 22:53:46 +00:00
|
|
|
done
|
|
|
|
done
|
|
|
|
|