diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2021-01-22 21:25:40 -0500 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2022-01-18 17:31:56 +0100 |
commit | e913e9a91f0290155a533601b1ba4bab038ade06 (patch) | |
tree | 693837f6445ba022f4d39a286417a8ec76dcd4eb | |
parent | 3342068f466f7a8657d5dd3ce4d4318c4d1c90b4 (diff) |
sq wip disabled sig
-rwxr-xr-x | src/librefetch/librefetch | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch index 92434e2..19e6559 100755 --- a/src/librefetch/librefetch +++ b/src/librefetch/librefetch @@ -237,8 +237,11 @@ DBG "librefetch::doit(create) IS_SIG" # set -x # FIXME: there is a note about this signature in usage() # create_signature "${base_dst%.sig}" || exit - if [[ -n $suffix ]]; then +# if [[ -n $suffix ]]; then + if [[ -n $suffix && -f "$base_dst" ]]; then +DBG "librefetch::doit(create) RENAME" mv -f "$base_dst" "$dst" +DBG "librefetch::doit(create) RENAMED" fi else export PKGDEST=${dst%/*} |