slitaz-dev-tools diff slitaz-mercurial-style/up-templates.sh @ rev 277

slitaz-mercurial-style: more work and first stage finished (testing localy)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 01 19:12:07 2017 +0100 (2017-03-01)
parents
children bcc5664a94ba
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/slitaz-mercurial-style/up-templates.sh	Wed Mar 01 19:12:07 2017 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +#!/bin/sh
     1.5 +#
     1.6 +. /lib/libtaz.sh
     1.7 +check_root
     1.8 +
     1.9 +rm -rf /usr/lib/python2.7/site-packages/mercurial/templates/slitaz
    1.10 +
    1.11 +echo "Copying template files to syste wide location..."
    1.12 +cp -rf templates/slitaz \
    1.13 +	/usr/lib/python2.7/site-packages/mercurial/templates
    1.14 +
    1.15 +cp -rf templates/static \
    1.16 +	/usr/lib/python2.7/site-packages/mercurial/templates
    1.17 +
    1.18 +exit 0