1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-07 00:05:10 +01:00

Somethingsomething slashes

This commit is contained in:
2017-09-04 11:13:03 +02:00
parent 8dac1e73da
commit f6b479303e

View File

@@ -4,7 +4,7 @@ PGADMINVENV="pgadmin4"
VENVDIR="$HOME/.virtualenvs/${PGADMINVENV}"
source /usr/share/virtualenvwrapper/virtualenvwrapper.sh
if [ ! -d "$VENVDIR" ] || [ ! -e ${VENVDIR}lib/python2.7/site-packages/pgadmin4/pgAdmin4.py ]; then
if [ ! -d "$VENVDIR" ] || [ ! -e ${VENVDIR}/lib/python2.7/site-packages/pgadmin4/pgAdmin4.py ]; then
mkvirtualenv "${PGADMINVENV}"
# Install
echo
@@ -17,5 +17,5 @@ if [ ! -d "$VENVDIR" ] || [ ! -e ${VENVDIR}lib/python2.7/site-packages/pgadmin4/
else
workon "${PGADMINVENV}"
# Start
python ${VENVDIR}lib/python2.7/site-packages/pgadmin4/pgAdmin4.py
python ${VENVDIR}/lib/python2.7/site-packages/pgadmin4/pgAdmin4.py
fi