aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/update_apt-panopticon
diff options
context:
space:
mode:
authoronefang2022-10-18 12:23:57 +1000
committeronefang2022-10-18 12:23:57 +1000
commit20bd7dd2d8ce0273acdda6bd5f07f483f92ab9d9 (patch)
tree74534ede4ed624b6507b5e92f530d9dca83bd6b6 /update_apt-panopticon
parentCheck for stale lock file. (diff)
downloadapt-panopticon-20bd7dd2d8ce0273acdda6bd5f07f483f92ab9d9.zip
apt-panopticon-20bd7dd2d8ce0273acdda6bd5f07f483f92ab9d9.tar.gz
apt-panopticon-20bd7dd2d8ce0273acdda6bd5f07f483f92ab9d9.tar.bz2
apt-panopticon-20bd7dd2d8ce0273acdda6bd5f07f483f92ab9d9.tar.xz
Change the chowns.
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