Skip to content

Commit

Permalink
Update package_wordlists.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lap1nou authored Apr 30, 2024
1 parent 7010f80 commit f4eb6dc
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions sources/install/package_wordlists.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,16 @@ function install_username-anarchy() {
colorecho "Installing Username-Anarchy"
git -C /opt/tools/ clone --depth 1 https://github.com/urbanadventurer/username-anarchy
cd /opt/tools/username-anarchy || exit
git fetch origin "pull/3/head:pull/3"
git merge --strategy-option theirs --no-edit "pull/3"
# https://github.com/urbanadventurer/username-anarchy/pull/3
local temp_fix_limit="2025-04-01"
if [[ "$(date +%Y%m%d)" -gt "$(date -d $temp_fix_limit +%Y%m%d)" ]]; then
criticalecho "Temp fix expired. Exiting."
else
git config --local user.email "local"
git config --local user.name "local"
local prs=("3")
for pr in "${prs[@]}"; do git fetch origin "pull/$pr/head:pull/$pr" && git merge --strategy-option theirs --no-edit "pull/$pr"; done
fi
add-aliases username-anarchy
add-history username-anarchy
add-test-command "username-anarchy --help"
Expand Down

0 comments on commit f4eb6dc

Please sign in to comment.