Skip to content

Commit

Permalink
Merge pull request #1203 from yarysp/fix-984-whatportis
Browse files Browse the repository at this point in the history
Whatportis - Replace purge by truncate to prevent port import error
  • Loading branch information
AnonymousWP authored Feb 21, 2024
2 parents 000b116 + dc0f57a commit 2e903ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/celery-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ Pin-Priority: -1
apt update
apt install firefox -y

# Temporary fix for whatportis bug - See https://github.com/yogeshojha/rengine/issues/984
sed -i 's/purge()/truncate()/g' /usr/local/lib/python3.10/dist-packages/whatportis/cli.py

# update whatportis
yes | whatportis --update

Expand Down

0 comments on commit 2e903ac

Please sign in to comment.