unifios-utilities/python/install_pip.sh

12 lines
501 B
Bash
Raw Normal View History

2020-12-24 23:24:45 +00:00
#!/bin/sh
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