-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply patch from Michal Maruska in #95 to ensure package files are correctly cleaned up should the POST-INSTALL script phase fail.
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
/* $NetBSD: perform.c,v 1.120 2021/04/10 20:10:48 nia Exp $ */ | ||
/* $NetBSD: perform.c,v 1.121 2021/10/21 13:05:25 jperkin Exp $ */ | ||
#if HAVE_CONFIG_H | ||
#include "config.h" | ||
#endif | ||
#include <nbcompat.h> | ||
#if HAVE_SYS_CDEFS_H | ||
#include <sys/cdefs.h> | ||
#endif | ||
__RCSID("$NetBSD: perform.c,v 1.120 2021/04/10 20:10:48 nia Exp $"); | ||
__RCSID("$NetBSD: perform.c,v 1.121 2021/10/21 13:05:25 jperkin Exp $"); | ||
|
||
/*- | ||
* Copyright (c) 2003 Grant Beattie <[email protected]> | ||
|
@@ -1545,7 +1545,7 @@ pkg_do(const char *pkgpath, int mark_automatic, int top_level) | |
goto nuke_pkg; | ||
|
||
if (run_install_script(pkg, "POST-INSTALL")) | ||
goto nuke_pkgdb; | ||
goto nuke_pkg; | ||
|
||
/* XXX keep +INSTALL_INFO for updates? */ | ||
/* XXX keep +PRESERVE for updates? */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters