Browse Source

Oops, .git is a directory, not a file.

master
onefang 2 months ago
parent
commit
4f644b85c3
  1. 4
      update_apt-panopticon

4
update_apt-panopticon

@ -1,12 +1,12 @@
#!/bin/bash
cd /var/www/html/apt-panopticon/apt-panopticon_cgp
if [ -f .git ] ; then
if [ -d .git ] ; then
git pull > /dev/null
chown -R www-data:www-data *
fi
cd /var/www/html/apt-panopticon/apt-panopticon
if [ -f .git ] ; then
if [ -d .git ] ; then
git pull > /dev/null
chown -R www-data:www-data *
fi

Loading…
Cancel
Save