summaryrefslogtreecommitdiff
path: root/src/librefetch
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-04-20 23:05:42 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-04 14:30:02 -0400
commit7d584af432202470d9d8fefd74a7f7ed044c4ab3 (patch)
tree0db3e165bd055a5f56c1a8548333b0dc87c27774 /src/librefetch
parent2ae5371f347603d34a7ccc33681e612db338d11e (diff)
random tidy up
Diffstat (limited to 'src/librefetch')
-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##*/}"