modify git ignore append content

This commit is contained in:
Yannick 2025-04-09 13:29:41 +02:00
commit beea8fd11f

7
setup
View file

@ -29,6 +29,13 @@ if [ ! -f igniter/.gitignore ]; then
touch igniter/.gitignore
fi
for executable in start stop setup exec spark-exec switch-branch-migrate; do
if ! grep -q $executable igniter/.gitignore; then
echo "# Codeigniter Setup Script" >> igniter/.gitignore
break
fi
done
for executable in start stop setup exec spark-exec switch-branch-migrate; do
if ! grep -q $executable igniter/.gitignore; then
echo "${executable}" >> igniter/.gitignore