diff options
author | Britney Fransen <brfransen@gmail.com> | 2013-09-05 19:19:57 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2013-09-05 19:19:57 (GMT) |
commit | 98d16659fcf26772590c559d58ab7112148c292d (patch) | |
tree | 0f66c70e5cd628ec0e1d6b458ab3c8a46dcd6761 /abs/core/pacman/0003-Ensure-pre_upgrade-scriptlet-gets-old-package-version.patch | |
parent | bed8b45575c0365415c452dc1a63108fcf9f3d82 (diff) | |
download | linhes_pkgbuild-98d16659fcf26772590c559d58ab7112148c292d.zip linhes_pkgbuild-98d16659fcf26772590c559d58ab7112148c292d.tar.gz linhes_pkgbuild-98d16659fcf26772590c559d58ab7112148c292d.tar.bz2 |
pacman: update to 4.1.2
Diffstat (limited to 'abs/core/pacman/0003-Ensure-pre_upgrade-scriptlet-gets-old-package-version.patch')
-rw-r--r-- | abs/core/pacman/0003-Ensure-pre_upgrade-scriptlet-gets-old-package-version.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/abs/core/pacman/0003-Ensure-pre_upgrade-scriptlet-gets-old-package-version.patch b/abs/core/pacman/0003-Ensure-pre_upgrade-scriptlet-gets-old-package-version.patch deleted file mode 100644 index ae3a57e..0000000 --- a/abs/core/pacman/0003-Ensure-pre_upgrade-scriptlet-gets-old-package-version.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 1bf05e706b5edac92e9c913a69ca8686c6440f8b Mon Sep 17 00:00:00 2001 -From: Dan McGee <dan@archlinux.org> -Date: Fri, 04 May 2012 16:41:40 +0000 -Subject: Ensure pre_upgrade scriptlet gets old package version - -This was accidentally broken in the refactor done in commit 73139ccb. - -Fixes FS#29371. - -Signed-off-by: Dan McGee <dan@archlinux.org> ---- -diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c -index 6c2f0cb..c49d99b 100644 ---- a/lib/libalpm/add.c -+++ b/lib/libalpm/add.c -@@ -488,8 +488,9 @@ static int commit_single_pkg(alpm_handle_t *handle, alpm_pkg_t *newpkg, - if(alpm_pkg_has_scriptlet(newpkg) && - !(trans->flags & ALPM_TRANS_FLAG_NOSCRIPTLET)) { - const char *scriptlet_name = is_upgrade ? "pre_upgrade" : "pre_install"; -- _alpm_runscriptlet(handle, pkgfile, -- scriptlet_name, newpkg->version, NULL, 1); -+ -+ _alpm_runscriptlet(handle, pkgfile, scriptlet_name, -+ newpkg->version, oldpkg ? oldpkg->version : NULL, 1); - } - - /* we override any pre-set reason if we have alldeps or allexplicit set */ --- -cgit v0.9.0.2-13-g2bd3 |