aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-10-28 12:12:37 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-10-28 12:12:37 -0200
commit3d2eb793def440e3361d6b8f2593fd04042138f6 (patch)
tree9b5f035ce1f44544ac00ec4802d376d13e76a6fb
parenta4ce12bae6189c642443cd993ff9655c1f560330 (diff)
downloadtemplater-3d2eb793def440e3361d6b8f2593fd04042138f6.tar.gz
templater-3d2eb793def440e3361d6b8f2593fd04042138f6.tar.bz2
Switch to share/templater
-rw-r--r--share/templater/agpl/LICENSE (renamed from share/agpl/LICENSE)0
-rw-r--r--share/templater/apache/LICENSE (renamed from share/apache/LICENSE)0
-rw-r--r--share/templater/bsd/LICENSE (renamed from share/bsd/LICENSE)0
-rw-r--r--share/templater/conduct/CODE_OF_CONDUCT.md (renamed from share/conduct/CODE_OF_CONDUCT.md)0
-rw-r--r--share/templater/drupal7/drupal.make.yml (renamed from share/drupal7/drupal.make.yml)0
-rw-r--r--share/templater/drupal8/Makefile (renamed from share/drupal8/Makefile)0
-rw-r--r--share/templater/drupal8/default.services.yml (renamed from share/drupal8/default.services.yml)0
-rw-r--r--share/templater/drupal8/default.settings.php (renamed from share/drupal8/default.settings.php)0
-rw-r--r--share/templater/drupal8/development.services.yml (renamed from share/drupal8/development.services.yml)0
-rw-r--r--share/templater/drupal8/drupal.make.yml (renamed from share/drupal8/drupal.make.yml)0
-rw-r--r--share/templater/drupal8/example.settings.local.php (renamed from share/drupal8/example.settings.local.php)0
-rw-r--r--share/templater/drupal8/example.sites.php (renamed from share/drupal8/example.sites.php)0
-rw-r--r--share/templater/gpl/LICENSE (renamed from share/gpl/LICENSE)0
-rw-r--r--share/templater/ikiwiki/.gitignore (renamed from share/ikiwiki/.gitignore)0
-rw-r--r--share/templater/ikiwiki/Makefile (renamed from share/ikiwiki/Makefile)0
-rwxr-xr-xshare/templater/ikiwiki/bin/post-receive (renamed from share/ikiwiki/bin/post-receive)0
-rw-r--r--share/templater/ikiwiki/bootstrap/css/bootstrap-responsive.css (renamed from share/ikiwiki/bootstrap/css/bootstrap-responsive.css)0
-rw-r--r--share/templater/ikiwiki/bootstrap/css/bootstrap-responsive.min.css (renamed from share/ikiwiki/bootstrap/css/bootstrap-responsive.min.css)0
-rw-r--r--share/templater/ikiwiki/bootstrap/css/bootstrap.css (renamed from share/ikiwiki/bootstrap/css/bootstrap.css)0
-rw-r--r--share/templater/ikiwiki/bootstrap/css/bootstrap.min.css (renamed from share/ikiwiki/bootstrap/css/bootstrap.min.css)0
-rw-r--r--share/templater/ikiwiki/bootstrap/img/glyphicons-halflings-white.png (renamed from share/ikiwiki/bootstrap/img/glyphicons-halflings-white.png)bin8777 -> 8777 bytes
-rw-r--r--share/templater/ikiwiki/bootstrap/img/glyphicons-halflings.png (renamed from share/ikiwiki/bootstrap/img/glyphicons-halflings.png)bin12799 -> 12799 bytes
-rw-r--r--share/templater/ikiwiki/ikiwiki.yaml (renamed from share/ikiwiki/ikiwiki.yaml)0
-rw-r--r--share/templater/ikiwiki/index.md (renamed from share/ikiwiki/index.md)0
-rw-r--r--share/templater/ikiwiki/local.css (renamed from share/ikiwiki/local.css)0
-rw-r--r--share/templater/ikiwiki/sitemap.md (renamed from share/ikiwiki/sitemap.md)0
-rw-r--r--share/templater/ikiwiki/templates/inlinepage.tmpl (renamed from share/ikiwiki/templates/inlinepage.tmpl)0
-rw-r--r--share/templater/ikiwiki/templates/page.tmpl (renamed from share/ikiwiki/templates/page.tmpl)0
-rw-r--r--share/templater/ikiwiki/timeline.md (renamed from share/ikiwiki/timeline.md)0
-rw-r--r--share/templater/mit/LICENSE (renamed from share/mit/LICENSE)0
-rw-r--r--share/templater/mpl/LICENSE (renamed from share/mpl/LICENSE)0
-rw-r--r--share/templater/pelican/.gitignore (renamed from share/pelican/.gitignore)0
-rw-r--r--share/templater/pelican/Makefile (renamed from share/pelican/Makefile)0
-rw-r--r--share/templater/pelican/content/index.md (renamed from share/pelican/content/index.md)0
-rw-r--r--share/templater/pelican/pelicanconf.py (renamed from share/pelican/pelicanconf.py)0
-rw-r--r--share/templater/sphinx/.gitignore (renamed from share/sphinx/.gitignore)0
-rw-r--r--share/templater/sphinx/Makefile (renamed from share/sphinx/Makefile)0
-rw-r--r--share/templater/sphinx/_static/.empty (renamed from share/sphinx/_static/.empty)0
-rw-r--r--share/templater/sphinx/conf.py (renamed from share/sphinx/conf.py)0
-rw-r--r--share/templater/wtfpl/LICENSE (renamed from share/wtfpl/LICENSE)0
-rwxr-xr-xtemplater9
41 files changed, 5 insertions, 4 deletions
diff --git a/share/agpl/LICENSE b/share/templater/agpl/LICENSE
index be3f7b2..be3f7b2 100644
--- a/share/agpl/LICENSE
+++ b/share/templater/agpl/LICENSE
diff --git a/share/apache/LICENSE b/share/templater/apache/LICENSE
index d645695..d645695 100644
--- a/share/apache/LICENSE
+++ b/share/templater/apache/LICENSE
diff --git a/share/bsd/LICENSE b/share/templater/bsd/LICENSE
index e160466..e160466 100644
--- a/share/bsd/LICENSE
+++ b/share/templater/bsd/LICENSE
diff --git a/share/conduct/CODE_OF_CONDUCT.md b/share/templater/conduct/CODE_OF_CONDUCT.md
index 234ed0f..234ed0f 100644
--- a/share/conduct/CODE_OF_CONDUCT.md
+++ b/share/templater/conduct/CODE_OF_CONDUCT.md
diff --git a/share/drupal7/drupal.make.yml b/share/templater/drupal7/drupal.make.yml
index 5ae7edb..5ae7edb 100644
--- a/share/drupal7/drupal.make.yml
+++ b/share/templater/drupal7/drupal.make.yml
diff --git a/share/drupal8/Makefile b/share/templater/drupal8/Makefile
index c535eb3..c535eb3 100644
--- a/share/drupal8/Makefile
+++ b/share/templater/drupal8/Makefile
diff --git a/share/drupal8/default.services.yml b/share/templater/drupal8/default.services.yml
index e1bbbc7..e1bbbc7 100644
--- a/share/drupal8/default.services.yml
+++ b/share/templater/drupal8/default.services.yml
diff --git a/share/drupal8/default.settings.php b/share/templater/drupal8/default.settings.php
index c7dd194..c7dd194 100644
--- a/share/drupal8/default.settings.php
+++ b/share/templater/drupal8/default.settings.php
diff --git a/share/drupal8/development.services.yml b/share/templater/drupal8/development.services.yml
index d2857c6..d2857c6 100644
--- a/share/drupal8/development.services.yml
+++ b/share/templater/drupal8/development.services.yml
diff --git a/share/drupal8/drupal.make.yml b/share/templater/drupal8/drupal.make.yml
index 38154eb..38154eb 100644
--- a/share/drupal8/drupal.make.yml
+++ b/share/templater/drupal8/drupal.make.yml
diff --git a/share/drupal8/example.settings.local.php b/share/templater/drupal8/example.settings.local.php
index b1f73dd..b1f73dd 100644
--- a/share/drupal8/example.settings.local.php
+++ b/share/templater/drupal8/example.settings.local.php
diff --git a/share/drupal8/example.sites.php b/share/templater/drupal8/example.sites.php
index 60afae7..60afae7 100644
--- a/share/drupal8/example.sites.php
+++ b/share/templater/drupal8/example.sites.php
diff --git a/share/gpl/LICENSE b/share/templater/gpl/LICENSE
index 94a9ed0..94a9ed0 100644
--- a/share/gpl/LICENSE
+++ b/share/templater/gpl/LICENSE
diff --git a/share/ikiwiki/.gitignore b/share/templater/ikiwiki/.gitignore
index 47221fc..47221fc 100644
--- a/share/ikiwiki/.gitignore
+++ b/share/templater/ikiwiki/.gitignore
diff --git a/share/ikiwiki/Makefile b/share/templater/ikiwiki/Makefile
index 8dc0c96..8dc0c96 100644
--- a/share/ikiwiki/Makefile
+++ b/share/templater/ikiwiki/Makefile
diff --git a/share/ikiwiki/bin/post-receive b/share/templater/ikiwiki/bin/post-receive
index 627198d..627198d 100755
--- a/share/ikiwiki/bin/post-receive
+++ b/share/templater/ikiwiki/bin/post-receive
diff --git a/share/ikiwiki/bootstrap/css/bootstrap-responsive.css b/share/templater/ikiwiki/bootstrap/css/bootstrap-responsive.css
index fcd72f7..fcd72f7 100644
--- a/share/ikiwiki/bootstrap/css/bootstrap-responsive.css
+++ b/share/templater/ikiwiki/bootstrap/css/bootstrap-responsive.css
diff --git a/share/ikiwiki/bootstrap/css/bootstrap-responsive.min.css b/share/templater/ikiwiki/bootstrap/css/bootstrap-responsive.min.css
index d1b7f4b..d1b7f4b 100644
--- a/share/ikiwiki/bootstrap/css/bootstrap-responsive.min.css
+++ b/share/templater/ikiwiki/bootstrap/css/bootstrap-responsive.min.css
diff --git a/share/ikiwiki/bootstrap/css/bootstrap.css b/share/templater/ikiwiki/bootstrap/css/bootstrap.css
index 2f56af3..2f56af3 100644
--- a/share/ikiwiki/bootstrap/css/bootstrap.css
+++ b/share/templater/ikiwiki/bootstrap/css/bootstrap.css
diff --git a/share/ikiwiki/bootstrap/css/bootstrap.min.css b/share/templater/ikiwiki/bootstrap/css/bootstrap.min.css
index c10c7f4..c10c7f4 100644
--- a/share/ikiwiki/bootstrap/css/bootstrap.min.css
+++ b/share/templater/ikiwiki/bootstrap/css/bootstrap.min.css
diff --git a/share/ikiwiki/bootstrap/img/glyphicons-halflings-white.png b/share/templater/ikiwiki/bootstrap/img/glyphicons-halflings-white.png
index 3bf6484..3bf6484 100644
--- a/share/ikiwiki/bootstrap/img/glyphicons-halflings-white.png
+++ b/share/templater/ikiwiki/bootstrap/img/glyphicons-halflings-white.png
Binary files differ
diff --git a/share/ikiwiki/bootstrap/img/glyphicons-halflings.png b/share/templater/ikiwiki/bootstrap/img/glyphicons-halflings.png
index a996999..a996999 100644
--- a/share/ikiwiki/bootstrap/img/glyphicons-halflings.png
+++ b/share/templater/ikiwiki/bootstrap/img/glyphicons-halflings.png
Binary files differ
diff --git a/share/ikiwiki/ikiwiki.yaml b/share/templater/ikiwiki/ikiwiki.yaml
index 4c892ac..4c892ac 100644
--- a/share/ikiwiki/ikiwiki.yaml
+++ b/share/templater/ikiwiki/ikiwiki.yaml
diff --git a/share/ikiwiki/index.md b/share/templater/ikiwiki/index.md
index 2da2aef..2da2aef 100644
--- a/share/ikiwiki/index.md
+++ b/share/templater/ikiwiki/index.md
diff --git a/share/ikiwiki/local.css b/share/templater/ikiwiki/local.css
index 2669089..2669089 100644
--- a/share/ikiwiki/local.css
+++ b/share/templater/ikiwiki/local.css
diff --git a/share/ikiwiki/sitemap.md b/share/templater/ikiwiki/sitemap.md
index 6586976..6586976 100644
--- a/share/ikiwiki/sitemap.md
+++ b/share/templater/ikiwiki/sitemap.md
diff --git a/share/ikiwiki/templates/inlinepage.tmpl b/share/templater/ikiwiki/templates/inlinepage.tmpl
index 2a8c1c2..2a8c1c2 100644
--- a/share/ikiwiki/templates/inlinepage.tmpl
+++ b/share/templater/ikiwiki/templates/inlinepage.tmpl
diff --git a/share/ikiwiki/templates/page.tmpl b/share/templater/ikiwiki/templates/page.tmpl
index 6a3b146..6a3b146 100644
--- a/share/ikiwiki/templates/page.tmpl
+++ b/share/templater/ikiwiki/templates/page.tmpl
diff --git a/share/ikiwiki/timeline.md b/share/templater/ikiwiki/timeline.md
index 4a683f7..4a683f7 100644
--- a/share/ikiwiki/timeline.md
+++ b/share/templater/ikiwiki/timeline.md
diff --git a/share/mit/LICENSE b/share/templater/mit/LICENSE
index cdf78bc..cdf78bc 100644
--- a/share/mit/LICENSE
+++ b/share/templater/mit/LICENSE
diff --git a/share/mpl/LICENSE b/share/templater/mpl/LICENSE
index 14e2f77..14e2f77 100644
--- a/share/mpl/LICENSE
+++ b/share/templater/mpl/LICENSE
diff --git a/share/pelican/.gitignore b/share/templater/pelican/.gitignore
index 06a38a6..06a38a6 100644
--- a/share/pelican/.gitignore
+++ b/share/templater/pelican/.gitignore
diff --git a/share/pelican/Makefile b/share/templater/pelican/Makefile
index 45fb995..45fb995 100644
--- a/share/pelican/Makefile
+++ b/share/templater/pelican/Makefile
diff --git a/share/pelican/content/index.md b/share/templater/pelican/content/index.md
index e69de29..e69de29 100644
--- a/share/pelican/content/index.md
+++ b/share/templater/pelican/content/index.md
diff --git a/share/pelican/pelicanconf.py b/share/templater/pelican/pelicanconf.py
index c5f6dd3..c5f6dd3 100644
--- a/share/pelican/pelicanconf.py
+++ b/share/templater/pelican/pelicanconf.py
diff --git a/share/sphinx/.gitignore b/share/templater/sphinx/.gitignore
index e35d885..e35d885 100644
--- a/share/sphinx/.gitignore
+++ b/share/templater/sphinx/.gitignore
diff --git a/share/sphinx/Makefile b/share/templater/sphinx/Makefile
index 6f8ddaa..6f8ddaa 100644
--- a/share/sphinx/Makefile
+++ b/share/templater/sphinx/Makefile
diff --git a/share/sphinx/_static/.empty b/share/templater/sphinx/_static/.empty
index e69de29..e69de29 100644
--- a/share/sphinx/_static/.empty
+++ b/share/templater/sphinx/_static/.empty
diff --git a/share/sphinx/conf.py b/share/templater/sphinx/conf.py
index 6bc7b9a..6bc7b9a 100644
--- a/share/sphinx/conf.py
+++ b/share/templater/sphinx/conf.py
diff --git a/share/wtfpl/LICENSE b/share/templater/wtfpl/LICENSE
index ee7d6a5..ee7d6a5 100644
--- a/share/wtfpl/LICENSE
+++ b/share/templater/wtfpl/LICENSE
diff --git a/templater b/templater
index aa98fb9..f44885e 100755
--- a/templater
+++ b/templater
@@ -13,12 +13,12 @@ BOOTSTRAP="https://git.fluxo.info/puppet-bootstrap"
CWD="`pwd`"
# Set shared files location
-if [ -e "`dirname $(readlink -f $0)`/share/$NAME" ]; then
+if [ -e "`dirname $(readlink -f $0)`/share/$BASENAME" ]; then
# Development or local installation layout
- SHARE="`dirname $(readlink -f $0)`/share/$NAME"
+ SHARE="`dirname $(readlink -f $0)`/share/$BASENAME"
else
# System installation layout
- SHARE="`dirname $(readlink -f $0)`/../share/$NAME"
+ SHARE="`dirname $(readlink -f $0)`/../share/$BASENAME"
fi
# Initialize project
@@ -46,7 +46,8 @@ function __templater_ask {
# Return list of implementations
function __templater_implementations {
# Do not sort this list: the order in which functions are present in the code is important
- grep "^function templater_" $PROGRAM | cut -d ' ' -f 2 | sed -e 's/templater_//'
+ #grep "^function templater_" $PROGRAM | cut -d ' ' -f 2 | sed -e 's/templater_//'
+ ls $SHARE
}
# Message