diff options
author | onefang | 2022-10-18 12:23:57 +1000 |
---|---|---|
committer | onefang | 2022-10-18 12:23:57 +1000 |
commit | 20bd7dd2d8ce0273acdda6bd5f07f483f92ab9d9 (patch) | |
tree | 74534ede4ed624b6507b5e92f530d9dca83bd6b6 /update_apt-panopticon | |
parent | Check for stale lock file. (diff) | |
download | apt-panopticon-20bd7dd2d8ce0273acdda6bd5f07f483f92ab9d9.zip apt-panopticon-20bd7dd2d8ce0273acdda6bd5f07f483f92ab9d9.tar.gz apt-panopticon-20bd7dd2d8ce0273acdda6bd5f07f483f92ab9d9.tar.bz2 apt-panopticon-20bd7dd2d8ce0273acdda6bd5f07f483f92ab9d9.tar.xz |
Change the chowns.
Diffstat (limited to 'update_apt-panopticon')
-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 |