Subversion Repositories SmartDukaan

Rev

Rev 2175 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2175 Rev 13031
Line 20... Line 20...
20
done
20
done
21
 
21
 
22
# Get standard environment variables
22
# Get standard environment variables
23
PRGDIR=`dirname $(readlink -f "$PRG")`
23
PRGDIR=`dirname $(readlink -f "$PRG")`
24
 
24
 
25
SOLR_DIR=/root/solr/apache-solr-1.4.0/example/exampledocs
25
SOLR_DIR=/root/solr/example/exampledocs
26
CONTENT_EXPORT_PATH="/var/lib/tomcat6/webapps/export/html/"
26
CONTENT_EXPORT_PATH="/var/lib/tomcat6/webapps/export/html/"
27
 
27
 
28
echo "Updating mysql database for id $ITEM_ID"
28
echo "Updating mysql database for id $ITEM_ID"
29
echo "======================================================="
29
echo "======================================================="
30
mysql -uroot -pshop2020 catalog -e"update item set status=0, status_description=\"This item has been phased out\" where id = ${ITEM_ID}"
30
mysql -uroot -pshop2020 catalog -e"update item set status=0, status_description=\"This item has been phased out\" where id = ${ITEM_ID}"