summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/librefetch/librefetch2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch
index 807fe9b..7573678 100755
--- a/src/librefetch/librefetch
+++ b/src/librefetch/librefetch
@@ -211,7 +211,7 @@ doit() {
local suffix=${dst#"$base_dst"}
if [[ $base_dst == *.sig ]]; then
- if ! [[ -e $base_dst ]]; then
+ if ! [[ -e ${base_dst%.sig} ]]; then
extra_opts=("${src%.sig}" "${base_dst%.sig}")
doit || exit
fi