diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2021-01-22 21:25:40 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2021-07-26 19:20:09 -0400 |
commit | f5d023fee1765b93b49c1737a2b0fc255ba51b1a (patch) | |
tree | 18d4fd4a21dd3bbc2c16bb59bc064ba3d4413885 /src/librefetch | |
parent | 72e8ae115f4f5a65bffb36c1827e5ac0a0b1647f (diff) |
sq wip disabled sig
Diffstat (limited to 'src/librefetch')
-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%/*} |