From 4f273b34d62951a579b0cb60590645761f69b742 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Sun, 27 Sep 2015 01:21:26 +0200 Subject: [PATCH] [enh] handle trailing slash for path --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 8951b2a..bb64bed 100644 --- a/scripts/install +++ b/scripts/install @@ -10,6 +10,8 @@ if [[ ! $? -eq 0 ]]; then exit 1 fi +path=${path%/} + sudo apt-get install postgresql php5 php5-pgsql php5-gd php-gettext p7zip-full libgd2-xpm-dev final_path=/var/www/noalyss