diff options
Diffstat (limited to '')
-rwxr-xr-x | update_apt-panopticon | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/update_apt-panopticon b/update_apt-panopticon index b70f4c3..f2f3387 100755 --- a/update_apt-panopticon +++ b/update_apt-panopticon | |||
@@ -1,11 +1,15 @@ | |||
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | 2 | ||
3 | cd /var/www/html/apt-panopticon/apt-panopticon_cgp | 3 | cd /var/www/html/apt-panopticon/apt-panopticon_cgp |
4 | #git pull > /dev/null | 4 | if [ -f .git ] ; then |
5 | #chown -R mirrors:www-data * | 5 | git pull > /dev/null |
6 | #chown -R mirrors:www-data * | ||
7 | fi | ||
6 | cd /var/www/html/apt-panopticon/apt-panopticon | 8 | cd /var/www/html/apt-panopticon/apt-panopticon |
7 | #git pull > /dev/null | 9 | if [ -f .git ] ; then |
8 | #chown -R mirrors:www-data * | 10 | git pull > /dev/null |
11 | #chown -R mirrors:www-data * | ||
12 | fi | ||
9 | 13 | ||
10 | if [ ! -f apt-panopticon.lock ] ; then | 14 | if [ ! -f apt-panopticon.lock ] ; then |
11 | rm ../results; ln -s apt-panopticon/results_old ../results | 15 | rm ../results; ln -s apt-panopticon/results_old ../results |