Created
July 28, 2020 13:26
-
-
Save q9f/0f57fa13aa37279d1ba4c8b8e767241b to your computer and use it in GitHub Desktop.
medalla launchpad deposit userland patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/deposit.sh | |
+++ b/deposit.sh | |
@@ -4,8 +4,8 @@ if [[ "$OSTYPE" == "linux-gnu"* ]] || [[ "$OSTYPE" == "darwin"* ]]; then | |
echo $OSTYPE | |
if [[ $1 == "install" ]]; then | |
echo "Installing dependencies..." | |
- pip3 install -r requirements.txt | |
- python3 setup.py install | |
+ pip3 install -r requirements.txt --user | |
+ python3 setup.py install --user | |
exit 1 | |
fi | |
echo "Running deposit-cli..." | |
@@ -15,8 +15,8 @@ elif [[ "$OSTYPE" == "msys" ]] || [[ "$OSTYPE" == "cygwin" ]]; then | |
echo $OSTYPE | |
if [[ $1 == "install" ]]; then | |
echo "Installing dependencies..." | |
- pip install -r requirements.txt | |
- python setup.py install | |
+ pip install -r requirements.txt --user | |
+ python setup.py install --user | |
exit 1 | |
fi | |
echo "Running deposit-cli..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment