Fix SVG color typo, add grep guard to install.sh for duplicate .gitignore entries

This commit is contained in:
modimihir07 2026-05-18 02:15:24 +05:30
parent 68bdb11e8d
commit 01cfa93093
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@
</linearGradient>
<linearGradient id="dashGrad" x1="0" y1="0" x2="1" y2="0">
<stop offset="0%" stop-color="#6c5ce7" stop-opacity="0.3"/>
<stop offset="0.5" stop-color="#6c5cev" stop-opacity="0.6"/>
<stop offset="0.5" stop-color="#6c5ce7" stop-opacity="0.6"/>
<stop offset="1" stop-color="#6c5ce7" stop-opacity="0.3"/>
</linearGradient>
<linearGradient id="opencodeGrad" x1="0" y1="0" x2="0" y2="1">

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -67,9 +67,9 @@ mkdir -p backups audit
if [ ! -d .git ]; then
echo "Initializing git repository..."
git init
echo "audit/*" >> .gitignore
echo "backups/*.tar.gz" >> .gitignore
echo "data/settings.json" >> .gitignore
grep -qxF "audit/*" .gitignore || echo "audit/*" >> .gitignore
grep -qxF "backups/*.tar.gz" .gitignore || echo "backups/*.tar.gz" >> .gitignore
grep -qxF "data/settings.json" .gitignore || echo "data/settings.json" >> .gitignore
fi
echo ""