slitaz-dev-tools view slitaz-mercurial-style/up-templates.sh @ rev 282

Import mercurial.js to have a working copy on pangolin (hg host)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 01 22:39:32 2017 +0100 (2017-03-01)
parents 35f40719ec56
children
line source
1 #!/bin/sh
2 #
3 . /lib/libtaz.sh
4 check_root
6 rm -rf /usr/lib/python2.7/site-packages/mercurial/templates/slitaz
8 echo "Copying template files to system wide location..."
9 cp -rf templates/slitaz \
10 /usr/lib/python2.7/site-packages/mercurial/templates
12 cp -rf templates/static \
13 /usr/lib/python2.7/site-packages/mercurial/templates
15 exit 0