blob: b70f4c3798d900af1b4d13d267ba8369403dc25e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
cd /var/www/html/apt-panopticon/apt-panopticon_cgp
#git pull > /dev/null
#chown -R mirrors:www-data *
cd /var/www/html/apt-panopticon/apt-panopticon
#git pull > /dev/null
#chown -R mirrors:www-data *
if [ ! -f apt-panopticon.lock ] ; then
rm ../results; ln -s apt-panopticon/results_old ../results
flock -n apt-panopticon.lock ./apt-panopticon.lua && rm apt-panopticon.lock
rm ../results; ln -s apt-panopticon/results ../results
fi
#chown -R mirrors:www-data /var/www/html/SledjHamr/apt-panopticon/results
|