# HG changeset patch # User Christophe Lincoln # Date 1487812762 -3600 # Node ID 5481c43d5d212b6b03f514bb03a6f38c3c5769ca # Parent 9337285a6bfb535bd62e16cc4c55633f37618d41 scn: up images diff -r 9337285a6bfb -r 5481c43d5d21 tank/tank --- a/tank/tank Thu Feb 23 01:56:07 2017 +0100 +++ b/tank/tank Thu Feb 23 02:19:22 2017 +0100 @@ -152,11 +152,11 @@ cd $REPOS/slitaz-forge && hg pull -u cp -f scn/style* $WWW/scn cp -f scn/header.html $WWW/scn/lib - rm -rf $WWW/scn/images && cp -a scn/images $WWW/scn cp -a scn/plugins $WWW/scn # Use TinyCM cmdline tool cd $REPOS/tinycm && hg pull -u - ./tinycm up $WWW/scn ;; + ./tinycm up $WWW/scn + cp -a scn/images/* $WWW/scn/images ;; up-stats) echo -e "\nUpdating all awstats databases..." | tee -a $LOGFILE date >> $LOGFILE