aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/update_apt-panopticon
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xupdate_apt-panopticon6
1 files changed, 3 insertions, 3 deletions
diff --git a/update_apt-panopticon b/update_apt-panopticon
index 7bbe1d7..aaca74e 100755
--- a/update_apt-panopticon
+++ b/update_apt-panopticon
@@ -3,12 +3,12 @@
3cd /var/www/html/apt-panopticon/apt-panopticon_cgp 3cd /var/www/html/apt-panopticon/apt-panopticon_cgp
4if [ -f .git ] ; then 4if [ -f .git ] ; then
5 git pull > /dev/null 5 git pull > /dev/null
6 #chown -R mirrors:www-data * 6 chown -R www-data:www-data *
7fi 7fi
8cd /var/www/html/apt-panopticon/apt-panopticon 8cd /var/www/html/apt-panopticon/apt-panopticon
9if [ -f .git ] ; then 9if [ -f .git ] ; then
10 git pull > /dev/null 10 git pull > /dev/null
11 #chown -R mirrors:www-data * 11 chown -R www-data:www-data *
12fi 12fi
13 13
14# Check if the lock file still exists. 14# Check if the lock file still exists.
@@ -23,4 +23,4 @@ rm ../results; ln -s apt-panopticon/results_old ../results
23flock -n apt-panopticon.lock ./apt-panopticon.lua && rm apt-panopticon.lock 23flock -n apt-panopticon.lock ./apt-panopticon.lua && rm apt-panopticon.lock
24rm ../results; ln -s apt-panopticon/results ../results 24rm ../results; ln -s apt-panopticon/results ../results
25 25
26#chown -R mirrors:www-data /var/www/html/SledjHamr/apt-panopticon/results 26chown -R www-data:www-data ../results