diff options
-rwxr-xr-x | update_apt-panopticon | 4 |
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 | ||
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 [ -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 * |
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 [ -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 * |
12 | fi | 12 | fi |