From fcc05b650e4feb9efc6d2d309ab52e03f9632a90 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Wed, 8 Jan 2025 19:22:42 +0100 Subject: Improve packaging, even if we didn't improve pandoc --- guix.scm | 2 +- install.sh | 7 ------- install_with_stow.sh | 7 +++++++ 3 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 install.sh create mode 100644 install_with_stow.sh diff --git a/guix.scm b/guix.scm index f7fecae..43ddc5f 100644 --- a/guix.scm +++ b/guix.scm @@ -14,7 +14,7 @@ (arguments (list #:install-plan ''(("pandoc" "/share/pandoc")))) (native-search-paths (list (search-path-specification - (variable "XDG_DATA_HOME") + (variable "XDG_DATA_DIRS") ;; Not implemented in pandoc _yet_ (files '("share"))))) (home-page "http://git.elenq.tech/") (synopsis "Pandoc templates for ElenQ Technology") diff --git a/install.sh b/install.sh deleted file mode 100644 index 4458ed1..0000000 --- a/install.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -# Create directory -mkdir -p ~/.pandoc/templates - -# Link at ./pandoc -stow -Rt ~/.pandoc/templates -d pandoc templates diff --git a/install_with_stow.sh b/install_with_stow.sh new file mode 100644 index 0000000..4458ed1 --- /dev/null +++ b/install_with_stow.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +# Create directory +mkdir -p ~/.pandoc/templates + +# Link at ./pandoc +stow -Rt ~/.pandoc/templates -d pandoc templates -- cgit v1.2.3