From ba4c54a054b1ca9ea5916c2c6d576dcdc220d983 Mon Sep 17 00:00:00 2001 From: Krzysztof Labus Date: Wed, 10 Sep 2014 14:19:08 +0200 Subject: [PATCH] new installation #238 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tworzy katalog lib/Smarty jeżeli go nie ma. Pomaga w tym problemie: lmsgit/lms#238 --- devel/smarty_install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devel/smarty_install.sh b/devel/smarty_install.sh index bb70a6bbf9..8c8e737e20 100755 --- a/devel/smarty_install.sh +++ b/devel/smarty_install.sh @@ -24,6 +24,9 @@ echo "done." echo -n "Merging... " SMARTY_DIR=$(find $TMP -maxdepth 1 -mindepth 1 -type d -exec basename {} \;) +if [ ! -d "${LIB_DIR}/Smarty" ]; then + mkdir -p "${LIB_DIR}/Smarty" +fi cp -r $TMP/${SMARTY_DIR}/libs/* ${LIB_DIR}/Smarty/ cp -r $TMP/${SMARTY_DIR}/libs/plugins/* ${LIB_DIR}/Smarty/plugins/ echo "done."