bin update
This commit is contained in:
parent
7b31542d9d
commit
8e310de0f9
@ -25,6 +25,7 @@ gnome-tweaks chrome-gnome-shell caffeine
|
|||||||
|
|
||||||
MULTIMEDIA="
|
MULTIMEDIA="
|
||||||
kodi kodi-pvr-hts
|
kodi kodi-pvr-hts
|
||||||
|
ubuntu-restricted-extras libdvd-pkg
|
||||||
"
|
"
|
||||||
_MULTIMEDIA_="
|
_MULTIMEDIA_="
|
||||||
ubuntu-restricted-extras libdvd-pkg
|
ubuntu-restricted-extras libdvd-pkg
|
||||||
|
12
mkvenv
12
mkvenv
@ -1,13 +1,11 @@
|
|||||||
if [ ! -e venv ];then
|
if [ ! -e venv ];then
|
||||||
virtualenv venv
|
virtualenv venv
|
||||||
source venv/bin/activate
|
if venv/bin/pip -V | grep `pwd -P`; then
|
||||||
if pip -V | grep `pwd -P`; then
|
venv/bin/pip install --upgrade pip
|
||||||
pip install --upgrade pip
|
find . -name requirements.txt | xargs -L 1 venv/bin/pip install -r
|
||||||
pip_upgrade_all
|
venv/bin/pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 venv/bin/pip install -U
|
||||||
find . -name requirements.txt | xargs -L 1 pip install -r
|
|
||||||
deactivate
|
|
||||||
else
|
else
|
||||||
echo Could not activate venv!
|
echo Not running in the venv!
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo Virtualenv already exists!
|
echo Virtualenv already exists!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user