diff options
Diffstat (limited to '')
-rwxr-xr-x | update_apt-panopticon | 6 |
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 @@ | |||
3 | cd /var/www/html/apt-panopticon/apt-panopticon_cgp | 3 | cd /var/www/html/apt-panopticon/apt-panopticon_cgp |
4 | if [ -f .git ] ; then | 4 | if [ -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 * |
7 | fi | 7 | fi |
8 | cd /var/www/html/apt-panopticon/apt-panopticon | 8 | cd /var/www/html/apt-panopticon/apt-panopticon |
9 | if [ -f .git ] ; then | 9 | if [ -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 * |
12 | fi | 12 | fi |
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 | |||
23 | flock -n apt-panopticon.lock ./apt-panopticon.lua && rm apt-panopticon.lock | 23 | flock -n apt-panopticon.lock ./apt-panopticon.lua && rm apt-panopticon.lock |
24 | rm ../results; ln -s apt-panopticon/results ../results | 24 | rm ../results; ln -s apt-panopticon/results ../results |
25 | 25 | ||
26 | #chown -R mirrors:www-data /var/www/html/SledjHamr/apt-panopticon/results | 26 | chown -R www-data:www-data ../results |