mirror of
https://github.com/Yannick7777/codeigniter-setup-script.git
synced 2025-09-09 15:53:03 +02:00
modify git ignore append content
This commit is contained in:
parent
123d2f13a3
commit
beea8fd11f
1 changed files with 7 additions and 0 deletions
7
setup
7
setup
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue