diff --git a/epaath/install_epaath.sh b/epaath/install_epaath.sh index 93fe8d963e5924a2d1374bd5882197140e935ce7..72ef99beb916d07c34b6d7dc6cee3fb9c35fd75c 100644 --- a/epaath/install_epaath.sh +++ b/epaath/install_epaath.sh @@ -30,31 +30,31 @@ install_apache2 #check if EPaath has been downloaded -cd ~ -if [ -f "$packagetar" ]; then - rm -f $packagetar - #echo "the file exists" -fi - -if [ -f "$packagetar.tar.gz.sha1" ]; then - rm -f $packagetar.tar.gz.sha1 -fi - -if [ -d "/var/www/html/$package/" ]; then - #echo "here also it exists" - sudo rm -r /var/www/html/$package/ -fi -if [ -f "/usr/share/applications/balpaath.desktop" ];then - #echo "yaha pani xa raixa" - sudo rm -f /usr/share/applications/balpaath.desktop -fi - -echo " Downloading EPaath...." -echo -wget -c http://download.olenepal.org/$packagetar -wget -c http://download.olenepal.org/$packagetar.sha1 - -sha1sum -c EPaath.tar.gz.sha1 +# cd ~ +# if [ -f "$packagetar" ]; then +# rm -f $packagetar +# #echo "the file exists" +# fi + +# if [ -f "$packagetar.tar.gz.sha1" ]; then +# rm -f $packagetar.tar.gz.sha1 +# fi + +# if [ -d "/var/www/html/$package/" ]; then +# #echo "here also it exists" +# sudo rm -r /var/www/html/$package/ +# fi +# if [ -f "/usr/share/applications/balpaath.desktop" ];then +# #echo "yaha pani xa raixa" +# sudo rm -f /usr/share/applications/balpaath.desktop +# fi + +# echo " Downloading EPaath...." +# echo +# wget -c http://download.olenepal.org/$packagetar +# wget -c http://download.olenepal.org/$packagetar.sha1 + +# sha1sum -c EPaath.tar.gz.sha1 if [ $? == 0 ]; then echo"The package is ready to be extracted." tar -xzvf $packagetar