bin update

This commit is contained in:
Dirk Alders 2022-05-08 11:11:11 +02:00
parent 7b31542d9d
commit 8e310de0f9
3 changed files with 9 additions and 7 deletions

View File

@ -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

12
mkvenv
View File

@ -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!

3
reposinit Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
#
./mkvenv