diff --git a/apt-extend-ubuntustudio b/apt-extend-ubuntustudio index 07f6b0d..046f74e 100755 --- a/apt-extend-ubuntustudio +++ b/apt-extend-ubuntustudio @@ -25,6 +25,7 @@ gnome-tweaks chrome-gnome-shell caffeine MULTIMEDIA=" kodi kodi-pvr-hts +ubuntu-restricted-extras libdvd-pkg " _MULTIMEDIA_=" ubuntu-restricted-extras libdvd-pkg diff --git a/mkvenv b/mkvenv index 7d20e43..3b343c5 100755 --- a/mkvenv +++ b/mkvenv @@ -1,13 +1,11 @@ if [ ! -e venv ];then virtualenv venv - source venv/bin/activate - if pip -V | grep `pwd -P`; then - pip install --upgrade pip - pip_upgrade_all - find . -name requirements.txt | xargs -L 1 pip install -r - deactivate + if venv/bin/pip -V | grep `pwd -P`; then + venv/bin/pip install --upgrade pip + find . -name requirements.txt | xargs -L 1 venv/bin/pip install -r + venv/bin/pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 venv/bin/pip install -U else - echo Could not activate venv! + echo Not running in the venv! fi else echo Virtualenv already exists! diff --git a/reposinit b/reposinit new file mode 100755 index 0000000..978d989 --- /dev/null +++ b/reposinit @@ -0,0 +1,3 @@ +#!/bin/sh +# +./mkvenv \ No newline at end of file