Write an IPv6-disabled wrapper for pip
This commit is contained in:
parent
5d59fec160
commit
2c839f028e
1 changed files with 5 additions and 0 deletions
5
.local/bin/pipv4
Executable file
5
.local/bin/pipv4
Executable file
|
|
@ -0,0 +1,5 @@
|
||||||
|
#! /usr/bin/sh
|
||||||
|
|
||||||
|
sudo sysctl net.ipv6.conf.all.disable_ipv6=1
|
||||||
|
pip "$@"
|
||||||
|
sudo sysctl net.ipv6.conf.all.disable_ipv6=0
|
||||||
Loading…
Add table
Add a link
Reference in a new issue