aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xupdate_apt-panopticon12
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
3cd /var/www/html/apt-panopticon/apt-panopticon_cgp 3cd /var/www/html/apt-panopticon/apt-panopticon_cgp
4#git pull > /dev/null 4if [ -f .git ] ; then
5#chown -R mirrors:www-data * 5 git pull > /dev/null
6 #chown -R mirrors:www-data *
7fi
6cd /var/www/html/apt-panopticon/apt-panopticon 8cd /var/www/html/apt-panopticon/apt-panopticon
7#git pull > /dev/null 9if [ -f .git ] ; then
8#chown -R mirrors:www-data * 10 git pull > /dev/null
11 #chown -R mirrors:www-data *
12fi
9 13
10if [ ! -f apt-panopticon.lock ] ; then 14if [ ! -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