From 2f07b8205853026ffff70ed546fdd0c89da05fd8 Mon Sep 17 00:00:00 2001 From: James Barnsley Date: Mon, 10 Feb 2020 07:21:16 +1300 Subject: [PATCH] Fixing upgrade command --- mopidy_iris/system.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mopidy_iris/system.sh b/mopidy_iris/system.sh index bf2e1544..cbb27a30 100755 --- a/mopidy_iris/system.sh +++ b/mopidy_iris/system.sh @@ -11,8 +11,8 @@ if [[ $1 = "upgrade" ]]; then echo "cd /iris && git checkout master && git pull origin master" UPGRADE="$(cd /iris && git checkout master && git pull origin master)" else - echo "sudo pip install --upgrade mopidy-iris" - UPGRADE="$(sudo pip install --upgrade mopidy-iris)" + echo "sudo python3 -m pip install --upgrade mopidy-iris" + UPGRADE="$(sudo python3 -m pip install --upgrade mopidy-iris)" fi echo -e "${UPGRADE}"