From 59c799c04737916336da72ec44360a3d5ca459d5 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Fri, 19 Jul 2024 17:00:03 -0300 Subject: [PATCH] Add libexec/sourcezap/functions/ --- libexec/sourcezap/commands/sourcezap-checkout | 2 +- libexec/sourcezap/commands/sourcezap-clone | 2 +- libexec/sourcezap/commands/sourcezap-install | 2 +- libexec/sourcezap/commands/sourcezap-pull | 2 +- libexec/sourcezap/commands/sourcezap-rm | 2 +- libexec/sourcezap/{functions.sh => functions/print.sh} | 0 6 files changed, 5 insertions(+), 5 deletions(-) rename libexec/sourcezap/{functions.sh => functions/print.sh} (100%) diff --git a/libexec/sourcezap/commands/sourcezap-checkout b/libexec/sourcezap/commands/sourcezap-checkout index ea40ff8..7cc1016 100755 --- a/libexec/sourcezap/commands/sourcezap-checkout +++ b/libexec/sourcezap/commands/sourcezap-checkout @@ -11,7 +11,7 @@ branch=$2 ## # functions -. "${libexec}"/functions.sh +. "${libexec}"/functions/print.sh ## # main diff --git a/libexec/sourcezap/commands/sourcezap-clone b/libexec/sourcezap/commands/sourcezap-clone index 239f128..1081d27 100755 --- a/libexec/sourcezap/commands/sourcezap-clone +++ b/libexec/sourcezap/commands/sourcezap-clone @@ -12,7 +12,7 @@ branch=$3 ## # functions -. "${libexec}"/functions.sh +. "${libexec}"/functions/print.sh ## # main diff --git a/libexec/sourcezap/commands/sourcezap-install b/libexec/sourcezap/commands/sourcezap-install index c9c618c..91c19fa 100755 --- a/libexec/sourcezap/commands/sourcezap-install +++ b/libexec/sourcezap/commands/sourcezap-install @@ -13,7 +13,7 @@ revfile=$3 ## # functions -. "${libexec}"/functions.sh +. "${libexec}"/functions/print.sh perform_update() { diff --git a/libexec/sourcezap/commands/sourcezap-pull b/libexec/sourcezap/commands/sourcezap-pull index 7285db6..5ee9f53 100755 --- a/libexec/sourcezap/commands/sourcezap-pull +++ b/libexec/sourcezap/commands/sourcezap-pull @@ -10,7 +10,7 @@ gitdir=$1 ## # functions -. "${libexec}"/functions.sh +. "${libexec}"/functions/print.sh ## # main diff --git a/libexec/sourcezap/commands/sourcezap-rm b/libexec/sourcezap/commands/sourcezap-rm index 532a654..21ce4e3 100755 --- a/libexec/sourcezap/commands/sourcezap-rm +++ b/libexec/sourcezap/commands/sourcezap-rm @@ -10,7 +10,7 @@ installdir=$2 ## # functions -. "${libexec}"/functions.sh +. "${libexec}"/functions/print.sh erase() { diff --git a/libexec/sourcezap/functions.sh b/libexec/sourcezap/functions/print.sh similarity index 100% rename from libexec/sourcezap/functions.sh rename to libexec/sourcezap/functions/print.sh