From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-auth/bioapi/files: bioapi-1.2.3-no-delete.patch |
Date: | Sun, 08 Mar 2009 19:49:12 |
Message-Id: | E1LgOzm-0004F7-Ve@stork.gentoo.org |
1 | vapier 09/03/08 19:49:10 |
2 | |
3 | Added: bioapi-1.2.3-no-delete.patch |
4 | Log: |
5 | Do not let mod_install delete symlinks as that is the job of portage. |
6 | (Portage version: 2.2_rc23/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sys-auth/bioapi/files/bioapi-1.2.3-no-delete.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/bioapi/files/bioapi-1.2.3-no-delete.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/bioapi/files/bioapi-1.2.3-no-delete.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: bioapi-1.2.3-no-delete.patch |
15 | =================================================================== |
16 | do not delete the installed symlink -- let the package manager handle that |
17 | |
18 | --- bioapi-linux/apps/mod_install/install.c |
19 | +++ bioapi-linux/apps/mod_install/install.c |
20 | @@ -496,10 +496,6 @@ |
21 | } |
22 | else if ( Action == INSTALL_ACTION_UNINSTALL ) |
23 | { |
24 | -/* Linux-Port: Added the Linux branch */ |
25 | -#if defined (LINUX) || defined (SOLARIS) |
26 | - DeleteFile(szDstPath); |
27 | -#endif |
28 | printf( "Module uninstalled successfully.\n" ); |
29 | } |
30 | else if ( Action == INSTALL_ACTION_REFRESH ) |