summaryrefslogtreecommitdiff
path: root/src/librefetch
diff options
context:
space:
mode:
Diffstat (limited to 'src/librefetch')
-rw-r--r--src/librefetch/librefetch-install.in2
-rwxr-xr-xsrc/librefetch/librefetchdir/makepkg.gen2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librefetch/librefetch-install.in b/src/librefetch/librefetch-install.in
index 23c1928..54ffad4 100644
--- a/src/librefetch/librefetch-install.in
+++ b/src/librefetch/librefetch-install.in
@@ -62,7 +62,7 @@ post_install() {
print ":: %s: ... but it's an old version" "${0##*/}"
pre_remove "$file"
post_install "$file"
- return $?
+ return
fi
done
else
diff --git a/src/librefetch/librefetchdir/makepkg.gen b/src/librefetch/librefetchdir/makepkg.gen
index 8928d91..3655e7f 100755
--- a/src/librefetch/librefetchdir/makepkg.gen
+++ b/src/librefetch/librefetchdir/makepkg.gen
@@ -30,7 +30,7 @@
# - take the files that would be included in the tarball, and use
# find/sort/--files-from to order them for bsdtar
s/bsdtar(.*) - ([^|]*) \|/find \2 -print0 | LC_ALL=C sort --zero-terminated | bsdtar --null --files-from - --format=ustar --no-recursion \1 - |/
- s/create_signature .*/&; return $?/ # do not procede to create symlinks
+ s/create_signature .*/&; return/ # do not procede to create symlinks
}
s|Making package:|Making source:|