updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mindtouch / mindtouch-update-db
blobf5136e0259be5ce97db063feb0dd5e98bf3d8dcc
1 #!/bin/bash
3 if [[ $UID != 0 ]]; then
4 echo You need to run this script as root.
5 exit 1
6 fi
8 cd /usr/share/webapps/mindtouch/maintenance
9 su -s /bin/bash -c "php update-db.php" http
10 echo