Merge pull request #1203 from yarysp/fix-984-whatportis

Whatportis - Replace purge by truncate to prevent port import error
This commit is contained in:
Anonymoussaurus
2024-02-21 20:31:10 +01:00
committed by GitHub
+3
View File
@@ -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