summary refs log tree commit diff stats
path: root/tools/niminst
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@gmail.com>2016-06-06 21:27:36 +0100
committerDominik Picheta <dominikpicheta@gmail.com>2016-06-06 21:27:55 +0100
commit39d802188cc157a310402af739f9a73c932a373e (patch)
treea5469886c9d3f13b5f595bb53cbdb429fa9e25d5 /tools/niminst
parent4922eaa8b23e9c9eff9a6d3239da5f7089417d44 (diff)
downloadNim-39d802188cc157a310402af739f9a73c932a373e.tar.gz
Remove trailing slashes from install/deinstall.tmpl.
Diffstat (limited to 'tools/niminst')
-rw-r--r--tools/niminst/deinstall.tmpl6
-rw-r--r--tools/niminst/install.tmpl2
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/niminst/deinstall.tmpl b/tools/niminst/deinstall.tmpl
index bbc91d8f3..3cdfbf45d 100644
--- a/tools/niminst/deinstall.tmpl
+++ b/tools/niminst/deinstall.tmpl
@@ -21,7 +21,7 @@ if [ $# -eq 1 ] ; then
       libdir=/usr/lib/?proj
       docdir=/usr/share/?proj/doc
       datadir=/usr/share/?proj/data
-      nimbleDir="/opt/nimble/pkgs/?c.nimblePkgName-?c.version/"
+      nimbleDir="/opt/nimble/pkgs/?c.nimblePkgName-?c.version"
       ;;
     "/usr/local/bin")
       bindir=/usr/local/bin
@@ -29,7 +29,7 @@ if [ $# -eq 1 ] ; then
       libdir=/usr/local/lib/?proj
       docdir=/usr/local/share/?proj/doc
       datadir=/usr/local/share/?proj/data
-      nimbleDir="/opt/nimble/pkgs/?c.nimblePkgName-?c.version/"
+      nimbleDir="/opt/nimble/pkgs/?c.nimblePkgName-?c.version"
       ;;
     "/opt")
       bindir="/opt/?proj/bin"
@@ -37,7 +37,7 @@ if [ $# -eq 1 ] ; then
       libdir="/opt/?proj/lib"
       docdir="/opt/?proj/doc"
       datadir="/opt/?proj/data"
-      nimbleDir="/opt/nimble/pkgs/?c.nimblePkgName-?c.version/"
+      nimbleDir="/opt/nimble/pkgs/?c.nimblePkgName-?c.version"
       ;;
     *)
       bindir="$1/?proj/bin"
diff --git a/tools/niminst/install.tmpl b/tools/niminst/install.tmpl
index fa503fa36..f9266b867 100644
--- a/tools/niminst/install.tmpl
+++ b/tools/niminst/install.tmpl
@@ -34,7 +34,7 @@ if [ $# -eq 1 ] ; then
       libdir=/usr/lib/?proj
       docdir=/usr/share/?proj/doc
       datadir=/usr/share/?proj/data
-      nimbleDir="/opt/nimble/pkgs/?c.nimblePkgName-?c.version/"
+      nimbleDir="/opt/nimble/pkgs/?c.nimblePkgName-?c.version"
       ;;
     "/usr/local/bin")
       bindir=/usr/local/bin