Skip to content

Commit

Permalink
Script: applicato modifiche di Fabio Invernizzi (fabulus@linux.it)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gelma committed Jul 22, 2011
1 parent 53074f9 commit 98582e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions script/aggiorna-lugmap.sh
Expand Up @@ -15,5 +15,7 @@ fallito_aggiornamento() {
exit
}

su -c "cd $PATH_SITO && /usr/bin/git pull -q git://github.com/Gelma/LugMap.git lugmap.linux.it" www-data || fallito_aggiornamento
su -c "/bin/date -d @$(git log -n 1 --pretty="%at") > .ultimo_commit" www-data
cd $PATH_SITO

su -c "/usr/bin/git pull -q git://github.com/Gelma/LugMap.git lugmap.linux.it" www-data || fallito_aggiornamento
su -c "/bin/date -d @$(git log -n 1 --pretty='%at') > .ultimo_commit" www-data

0 comments on commit 98582e6

Please sign in to comment.