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

mkpkgiso: fix broken hg repos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 18 15:57:37 2018 +0200 (2018-05-18)
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