Teach the mod_install utility to not remove the shared object when
de-registering a BSP module from the BioAPI registry. This is needed when adding BSP modules to the ports tree, as both the ports system and mod_install will try to remove the file on de-install. PR: ports/95028 Submitted by: maintainer
This commit is contained in:
parent
f2ff3c77d9
commit
47d0a95582
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=158329
2 changed files with 13 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= bioapi
|
||||
PORTVERSION= 1.2.2
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://www.qrivy.net/~michael/blua/bioapi/ \
|
||||
http://shapeshifter.se/pub/bioapi/
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- apps/mod_install/install.c Wed Jun 8 02:51:04 2005
|
||||
+++ apps/mod_install/install.c Fri Nov 25 18:08:54 2005
|
||||
+++ apps/mod_install/install.c Tue Mar 28 08:59:05 2006
|
||||
@@ -370,8 +370,13 @@
|
||||
#if defined (LINUX) || defined (SOLARIS)
|
||||
if ( ( Action == INSTALL_ACTION_INSTALL ) || ( Action == INSTALL_ACTION_REFRESH ) )
|
||||
|
@ -16,3 +16,14 @@
|
|||
}
|
||||
if ( Action == INSTALL_ACTION_UNINSTALL )
|
||||
{
|
||||
@@ -496,10 +501,6 @@
|
||||
}
|
||||
else if ( Action == INSTALL_ACTION_UNINSTALL )
|
||||
{
|
||||
-/* Linux-Port: Added the Linux branch */
|
||||
-#if defined (LINUX) || defined (SOLARIS)
|
||||
- DeleteFile(szDstPath);
|
||||
-#endif
|
||||
printf( "Module uninstalled successfully.\n" );
|
||||
}
|
||||
else if ( Action == INSTALL_ACTION_REFRESH )
|
||||
|
|
Loading…
Reference in a new issue