aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/update_apt-panopticon
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xupdate_apt-panopticon16
1 files changed, 16 insertions, 0 deletions
diff --git a/update_apt-panopticon b/update_apt-panopticon
new file mode 100755
index 0000000..b70f4c3
--- /dev/null
+++ b/update_apt-panopticon
@@ -0,0 +1,16 @@
1#!/bin/bash
2
3cd /var/www/html/apt-panopticon/apt-panopticon_cgp
4#git pull > /dev/null
5#chown -R mirrors:www-data *
6cd /var/www/html/apt-panopticon/apt-panopticon
7#git pull > /dev/null
8#chown -R mirrors:www-data *
9
10if [ ! -f apt-panopticon.lock ] ; then
11 rm ../results; ln -s apt-panopticon/results_old ../results
12 flock -n apt-panopticon.lock ./apt-panopticon.lua && rm apt-panopticon.lock
13 rm ../results; ln -s apt-panopticon/results ../results
14fi
15
16#chown -R mirrors:www-data /var/www/html/SledjHamr/apt-panopticon/results