aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xupdate_apt-panopticon4
1 files changed, 2 insertions, 2 deletions
diff --git a/update_apt-panopticon b/update_apt-panopticon
index 219d86a..8edb43d 100755
--- a/update_apt-panopticon
+++ b/update_apt-panopticon
@@ -1,12 +1,12 @@
1#!/bin/bash 1#!/bin/bash
2 2
3cd /var/www/html/apt-panopticon/apt-panopticon_cgp 3cd /var/www/html/apt-panopticon/apt-panopticon_cgp
4if [ -f .git ] ; then 4if [ -d .git ] ; then
5 git pull > /dev/null 5 git pull > /dev/null
6 chown -R www-data: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 [ -d .git ] ; then
10 git pull > /dev/null 10 git pull > /dev/null
11 chown -R www-data:www-data * 11 chown -R www-data:www-data *
12fi 12fi