mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
makepkg: Fix typo to make xdelta creation work.
Signed-off-by: Nathan Jones <nathanj@insightbb.com> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
parent
52e7e6d747
commit
02ec82b8c6
@ -877,7 +877,7 @@ create_xdelta() {
|
||||
|
||||
local old_file old_version
|
||||
for old_file in $(ls {"$cache_dir","$PKGDEST"}/${pkgname}-*-*{,-$CARCH}$PKGEXT 2>/dev/null); do
|
||||
bsdtar -xOf "$oldfile" .PKGINFO > "$pkginfo" || continue
|
||||
bsdtar -xOf "$old_file" .PKGINFO > "$pkginfo" || continue
|
||||
if [ "$(cat "$pkginfo" | grep '^pkgname = ')" != "pkgname = $pkgname" ]; then
|
||||
continue # Package name does not match.
|
||||
elif [ "$(cat "$pkginfo" | grep '^arch = ')" != "arch = $CARCH" ] ; then
|
||||
|
Loading…
Reference in New Issue
Block a user