mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-07-29 12:51:49 +08:00
9 lines
219 B
Bash
Executable File
9 lines
219 B
Bash
Executable File
#!/bin/sh
|
|
|
|
newpath=$(echo ":$PATH:" | sed -e 's#:/usr/libexec/istore/ipv4-bin:#:#g' -e 's/^:*//' -e 's/:*$//')
|
|
[ -z "$newpath" ] && newpath="/usr/sbin:/usr/bin:/sbin:/bin"
|
|
|
|
export PATH="$newpath"
|
|
|
|
exec curl --ipv4 "$@"
|