mirror of
https://github.com/getsolus/packages.git
synced 2025-04-25 20:30:37 +03:00
common: Rework update_stateless.sh script for monorepo
Also update STATELESSNESS file Signed-off-by: Thomas Staudinger <Staudi.Kaos@gmail.com>
This commit is contained in:
parent
701d781e19
commit
96bf8c5dcb
2 changed files with 194 additions and 361 deletions
File diff suppressed because it is too large
Load diff
|
@ -6,17 +6,21 @@ fi
|
|||
|
||||
touch STATELESSNESS
|
||||
|
||||
pushd ..
|
||||
pushd ../packages
|
||||
|
||||
for f in `ls -1`; do
|
||||
if [ -e "$f/pspec.xml" ]; then
|
||||
grep -H \>/etc $f/pspec.xml >> common/STATELESSNESS
|
||||
fi
|
||||
if [ -e "$f/pspec_x86_64.xml" ]; then
|
||||
grep -H \>/etc $f/pspec_x86_64.xml >> common/STATELESSNESS
|
||||
fi
|
||||
for f in `ls`; do
|
||||
pushd $f
|
||||
for p in `ls`; do
|
||||
if [ -e "$p/pspec.xml" ]; then
|
||||
grep -H \>/etc $p/pspec.xml >> ../../common/STATELESSNESS
|
||||
fi
|
||||
if [ -e "$p/pspec_x86_64.xml" ]; then
|
||||
grep -H \>/etc $p/pspec_x86_64.xml >> ../../common/STATELESSNESS
|
||||
fi
|
||||
done
|
||||
popd
|
||||
done
|
||||
|
||||
popd
|
||||
|
||||
exit 0
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue