tinycm view tools/update.sh @ rev 69

small CSS change
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 24 02:26:38 2014 +0200 (2014-04-24)
parents df44b3c6e4c7
children
line source
1 #!/bin/sh
2 #
3 # Update a TinyCM install with latest code from Hg.
4 # Usage: ./tools/update.sh [paths]
5 #
6 . /lib/libtaz.sh
8 [ ! "$1" ] && echo "Missing TinyCM path(s)" && exit 0
10 # We dont overwrite style.css and images since they may have changed
11 # as well as the config file!
12 for cm in $@
13 do
14 echo "Updating: $cm"
15 cp -a index.cgi ${cm}
16 cp -a plugins ${cm}
17 cp -a lib/functions.js ${cm}/lib
18 cp -a lib/jseditor.html ${cm}/lib
19 done
21 exit 0