Refactor pip installs to reduce duplication
This commit is contained in:
parent
b504829756
commit
5533f777f3
1 changed files with 4 additions and 2 deletions
|
@ -145,11 +145,13 @@ $SUDO npm install -g reveal-md
|
|||
$SUDO npm install -g diff-so-fancy
|
||||
|
||||
if [[ -z $NOPYTHON3 ]]; then
|
||||
$SUDO pip3 install ws4py watchdog webassets Nikola --upgrade
|
||||
PIP=pip3
|
||||
else
|
||||
$SUDO pip install ws4py watchdog webassets Nikola --upgrade
|
||||
PIP=pip
|
||||
fi
|
||||
|
||||
$SUDO $PIP install pygments-style-solarized ws4py watchdog webassets Nikola --upgrade
|
||||
|
||||
if [[ -z $USER ]]; then
|
||||
USER=`whoami`
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue