repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git]
/
mindtouch
/
mindtouch-update-db
blob
f5136e0259be5ce97db063feb0dd5e98bf3d8dcc
1
#!/bin/bash
2
3
if
[[
$UID
!=
0
]];
then
4
echo
You need to run this
script
as root.
5
exit
1
6
fi
7
8
cd
/
usr
/
shar
e
/
webapps
/
mindtouch
/
maintenance
9
su
-s
/
bin
/
bash
-c
"php update-db.php"
http
10
echo