snark/requirments.sh

29 lines
365 B
Bash
Raw Normal View History

2023-05-19 16:31:43 +03:00
#!/bin/bash
set -e
apt-get update
apt-get install -y sudo
for dir in ./*/
do
2023-05-13 21:45:44 +03:00
if [[ $dir == *'snark'* ]]
then
cd "$dir"
if [[ $(find -type d -name "ci") ]]
then
cd ci
if [[ -f requirements.sh ]]; then
./requirments.sh
fi
cd ..
fi
cd ..
fi
done