summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortonyfettes2020-08-15 17:42:59 +0800
committertonyfettes2020-08-15 17:42:59 +0800
commit7f7393c3b52a53095c1375b77ef3dff54214b666 (patch)
treec557033aad20795d4169d722ac8692c718d05fd7
parent5a3fd0bdb3fe15c55d3153565f2d0080839adac3 (diff)
downloadaur-7f7393c3b52a53095c1375b77ef3dff54214b666.tar.gz
Update pip before installation.
-rw-r--r--argonone.install1
1 files changed, 1 insertions, 0 deletions
diff --git a/argonone.install b/argonone.install
index cb00dbff714a..e07537e31511 100644
--- a/argonone.install
+++ b/argonone.install
@@ -3,6 +3,7 @@ pre_install() {
if [[ $(grep "Raspberry Pi 3" /proc/device-tree/model) || $(grep "Raspberry Pi 4" /proc/device-tree/model) ]] ; then
echo "Building New Virtual Environment in /opt/argonone..."
python -m venv --clear /opt/argonone
+ /opt/argonone/bin/python3 -m pip install --upgrade pip
/opt/argonone/bin/python3 -m pip install pysmbus RPi.GPIO
echo "Enabling i2C..."