Skip to content

Commit

Permalink
minor change in update script
Browse files Browse the repository at this point in the history
  • Loading branch information
p0dalirius committed Jun 15, 2022
1 parent e0bcc43 commit 06a0773
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ github_api_wait() {
}

generate=1

if [ ${generate} -eq 1 ]; then
log "Updating wordlists ..."
while read script; do
Expand All @@ -34,6 +35,7 @@ log "Updating README.md ..."
NUMWORDLISTS=$(find ./ -name "*.txt" | wc -l)
sed -i 's/This repository contains \*\*.*\*\* wordlists!/This repository contains \*\*'${NUMWORDLISTS}'\*\* wordlists!/g' ./README.md
sed -i 's!https://img.shields.io/badge/wordlists-.*-brightgreen!https://img.shields.io/badge/wordlists-'${NUMWORDLISTS}'-brightgreen!g' ./README.md

git add README.md
git commit -m "Updated README.md"

Expand Down

0 comments on commit 06a0773

Please sign in to comment.