Page MenuHomePhorge

smarty_install.sh
No OneTemporary

Authored By
Unknown
Size
594 B
Referenced Files
None
Subscribers
None

smarty_install.sh

#!/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."

File Metadata

Mime Type
text/x-shellscript
Expires
Sun, Apr 5, 9:38 PM (3 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
74/cb/f30c30616134a2a11635ca38bea0
Default Alt Text
smarty_install.sh (594 B)

Event Timeline