applied Harald's patch - thx!
This commit is contained in:
parent
5e2950a455
commit
f937088831
1 changed files with 3 additions and 5 deletions
|
@ -65,11 +65,11 @@ get_db_name() {
|
||||||
|
|
||||||
############
|
############
|
||||||
# check prerequisites
|
# check prerequisites
|
||||||
if [ ${PHP_MAJOR }-lt "5" ] ; then
|
if [ "${PHP_MAJOR}" -lt "5" ] ; then
|
||||||
echo you need PHP version 5.3+ to run volkszaehler
|
echo you need PHP version 5.3+ to run volkszaehler
|
||||||
exit
|
exit
|
||||||
elif [ ${PHP_MAJOR} == "5" ]
|
elif [ "${PHP_MAJOR}" == "5" ] ; then
|
||||||
if [ ${PHP_MINOR }-lt "3" ] ; then
|
if [ "${PHP_MINOR}" -lt "3" ] ; then
|
||||||
echo you need PHP version 5.3+ to run volkszaehler
|
echo you need PHP version 5.3+ to run volkszaehler
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
@ -90,7 +90,6 @@ if [ "$REPLY" == 'y' ]; then
|
||||||
|
|
||||||
# wget -O - $doctrine_tar | tar xz -C $dtdir
|
# wget -O - $doctrine_tar | tar xz -C $dtdir
|
||||||
|
|
||||||
mkdir -p $dtdir
|
|
||||||
git clone $doctrine_git $dtdir
|
git clone $doctrine_git $dtdir
|
||||||
pushd $dtdir
|
pushd $dtdir
|
||||||
git submodule init
|
git submodule init
|
||||||
|
@ -113,7 +112,6 @@ REPLY=y
|
||||||
test -e "$vzdir" && ask "$vzdir already exists. overwrite?" n
|
test -e "$vzdir" && ask "$vzdir already exists. overwrite?" n
|
||||||
if [ "$REPLY" == 'y' ]; then
|
if [ "$REPLY" == 'y' ]; then
|
||||||
echo "installing volkszaehler.org into $vzdir"
|
echo "installing volkszaehler.org into $vzdir"
|
||||||
mkdir -p $vzdir
|
|
||||||
git clone $vz_git $vzdir
|
git clone $vz_git $vzdir
|
||||||
|
|
||||||
pushd $vzdir/lib/vendor
|
pushd $vzdir/lib/vendor
|
||||||
|
|
Loading…
Add table
Reference in a new issue