mirror of
https://github.com/getsolus/packages.git
synced 2025-04-28 05:40:49 +03:00

- Created Legacy directory for known unused scripts - Moved known unused scripts to Legacy - Moved legacy docs to Legacy - Moved legacy Templates to Legacy - Fixed sync_licenses.sh script - Added packages, sync-licenses, and stateless to Makefile - Added switch_repo_domains to Makefile.toplevel and Makefile.common - Added new script for updateing stateless report (STATELESSNESS)
22 lines
No EOL
356 B
Bash
Executable file
22 lines
No EOL
356 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if [ -e "STATELESSNESS" ]; then
|
|
rm STATELESSNESS
|
|
fi
|
|
|
|
touch STATELESSNESS
|
|
|
|
pushd ..
|
|
|
|
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
|
|
done
|
|
|
|
popd
|
|
|
|
exit 0 |