Skip to content

Commit

Permalink
removing generic solution, I don't think it can work. #351
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrasca committed May 12, 2018
1 parent 910873a commit 5060be1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions scripts/devinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if ! git help >/dev/null 2>&1; then
PROBLEMS="$PROBLEMS git"
fi
if ! virtualenv --help >/dev/null 2>&1; then
PROBLEMS="$PROBLEMS '^(python-?)virtualenv$'"
PROBLEMS="$PROBLEMS virtualenv"
fi
if ! xslt-config --help >/dev/null 2>&1; then
PROBLEMS="$PROBLEMS libxslt1-dev"
Expand All @@ -40,18 +40,18 @@ fi
sudo -k

if [ "$PROBLEMS" != "" ]; then
echo 'please solve the following dependencies:'
echo '(package names are ubuntu/debian, YMMV.)'
echo '----------------------------------------'
echo 'Guessing package names, if you get in a loop, please double check.'
echo 'You need to solve the following dependencies:'
echo '------------------------------------------------------------------'
echo $PROBLEMS
echo '----------------------------------------'
echo 'then restart the devinstall.sh script'
echo '------------------------------------------------------------------'
echo 'Then restart the devinstall.sh script'
if [ -x /usr/bin/apt-get ]; then
echo
echo you are on a debian-like system, I should know how to install
echo 'you are on a debian-like system, I should know how to install'
echo $PROBLEMS
sudo apt-get -y install $PROBLEMS
echo please re-run devinstall.sh
echo 'please re-run devinstall.sh'
fi
exit 1
fi
Expand Down

0 comments on commit 5060be1

Please sign in to comment.