summaryrefslogtreecommitdiff
path: root/src/librefetch/librefetch-install.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/librefetch/librefetch-install.in')
-rw-r--r--src/librefetch/librefetch-install.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librefetch/librefetch-install.in b/src/librefetch/librefetch-install.in
index 02d24e6..bb2fd5e 100644
--- a/src/librefetch/librefetch-install.in
+++ b/src/librefetch/librefetch-install.in
@@ -56,7 +56,7 @@ post_install() {
local file=$1
if grep -q 'librefetch' "$file"; then
print ":: %s: librefetch is already in %q" "${0##*/}" "$(realpath -s "$file")"
- local line del=false
+ local line
for line in "${old_code[@]}"; do
if has_line "$file" "$line"; then
print ":: %s: ... but it's an old version" "${0##*/}"