mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 00:05:10 +01:00
Somethingsomething slashes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user