From fa6770898e323a5ea0b8ff98d3f7a8e319b87aec Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Sun, 21 Aug 2022 09:12:16 -0400 Subject: use template file from share --- libexec/recit-setup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libexec') diff --git a/libexec/recit-setup b/libexec/recit-setup index d3da34c..fb8ce61 100755 --- a/libexec/recit-setup +++ b/libexec/recit-setup @@ -1,6 +1,6 @@ #!/usr/bin/env bash -source lib/recfile_template +set -e if [[ -f "$HOME/.recit.location" ]]; then recfile_location=$(cat "$HOME/.recit.location") @@ -8,5 +8,5 @@ if [[ -f "$HOME/.recit.location" ]]; then exit 1 fi -recfile_template > "$HOME/.recit.db" -echo "$HOME/.recit.db" > "$HOME/.recit.location" +cat share/recit/recit.example.rec > "$HOME/.recit.rec" +echo "$HOME/.recit.rec" > "$HOME/.recit.location" -- cgit v1.2.3