unifios-utilities/python/install_pip.sh

12 lines
503 B
Bash
Raw Normal View History

2023-02-23 05:44:27 +00:00
#!/bin/bash
2020-06-05 03:50:14 +00:00
cd /tmp
curl -L https://bootstrap.pypa.io/get-pip.py -o get-pip.py
ln -s $(podman inspect unifi-os -f {{.GraphDriver.Data.MergedDir}})/usr/lib/aarch64-linux-gnu/libssl.so.1.1 /usr/lib64/
ln -s $(podman inspect unifi-os -f {{.GraphDriver.Data.MergedDir}})/usr/lib/aarch64-linux-gnu/libcrypto.so.1.1 /usr/lib64/
python get-pip.py
ln -s $(podman inspect unifi-os -f {{.GraphDriver.Data.MergedDir}})/usr/local/bin/pip3 /usr/bin/pip
rm /usr/lib64/libssl.so.1.1
rm /usr/lib64/libcrypto.so.1.1