diff options
author | Aleksander Machniak <alec@alec.pl> | 2011-12-25 16:58:03 (GMT) |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2011-12-25 16:58:03 (GMT) |
commit | 92a5add47382cd41e782f45ef47e46806acdd615 (patch) | |
tree | 2a7993dc635df3746a037f78203746d2a3cbf330 /bin | |
parent | e8ea8f9522098c104eae131b773c4fd6cb7d329c (diff) | |
download | kolab-wap-92a5add47382cd41e782f45ef47e46806acdd615.tar.gz |
Restructured directory tree and class names (I'm not happy with it still)
Some improvements in the client
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/smarty_install.sh | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/bin/smarty_install.sh b/bin/smarty_install.sh new file mode 100755 index 0000000..2039743 --- /dev/null +++ b/bin/smarty_install.sh @@ -0,0 +1,29 @@ +#!/bin/bash +# +# Smarty templates library quick installation (with sources download) +# + +SMARTYVER="3.1.7" + +cd ../lib +# download +echo -n "Downloading Smarty sources... " +wget http://www.smarty.net/files/Smarty-$SMARTYVER.tar.gz +echo "done." + +# extracting package +echo -n "Extracting... " +tar -xzf Smarty-$SMARTYVER.tar.gz +echo "done." + +# merging +echo -n "Merging... " +mkdir Smarty 2> /dev/null +mv Smarty-$SMARTYVER/libs/* Smarty/ +mv Smarty-$SMARTYVER/libs/plugins/* Smarty/plugins/ +echo "done." + +# cleanup +echo -n "Cleaning up... " +rm -Rf Smarty-$SMARTYVER Smarty-$SMARTYVER.tar.gz +echo "done." |