[Scummvm-git-logs] scummvm-web master -> 56c6203933964a5770881c03d281aa81550a69e9

Mataniko mataniko at gmail.com
Thu Jul 26 13:22:47 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .

Summary:
56c6203933 WEB: Set up smarty3 template folder


Commit: 56c6203933964a5770881c03d281aa81550a69e9
    https://github.com/scummvm/scummvm-web/commit/56c6203933964a5770881c03d281aa81550a69e9
Author: Matan Bareket (mataniko at gmail.com)
Date: 2018-07-26T07:22:39-04:00

Commit Message:
WEB: Set up smarty3 template folder

Changed paths:
    site-update/install.sh


diff --git a/site-update/install.sh b/site-update/install.sh
index e78b9b1..b88d502 100644
--- a/site-update/install.sh
+++ b/site-update/install.sh
@@ -30,3 +30,11 @@ composer install 2>&1
 # Run npm install
 echo "$ npm install"
 npm install
+
+# Set up smarty 3
+if [ -d "vendor/smarty/smarty/libs" ] && [ ! -d "vendor/smarty/smarty/libs/template_c" ]; then
+  echo "$ mkdir vendor/smarty/smarty/libs/template_c"
+  mkdir vendor/smarty/smarty/libs/template_c
+  echo "$ chmod +w vendor/smarty/smarty/libs/template_c"
+  chmod +w vendor/smarty/smarty/libs/template_c
+fi





More information about the Scummvm-git-logs mailing list