File: test.sh

package info (click to toggle)
php-http-webdav-server 1.0.0RC8-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 232 kB
  • sloc: php: 1,836; xml: 316; sql: 37; sh: 8; makefile: 5
file content (12 lines) | stat: -rwxr-xr-x 351 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
(cd ..; sudo pear install -f package.xml)
rm -f *.log
mysql -u root webdav -e "TRUNCATE TABLE locks"
mysql -u root webdav -e "TRUNCATE TABLE properties"
sudo rm -rf /usr/local/apache/htdocs/mod_dav/*
sudo rm -rf /usr/local/apache/htdocs/litmus/*
litmus -k http://localhost/file.php   # add -k to continue on errors
php -q split_log.php