xbps/lib
Juan RP e11a1fe651 xbps_unpack_binary_pkg: fixed some bugs while upgrading essential pkgs.
* A package failed to be upgraded properly if current pkg contained
  INSTALL/REMOVE scripts, while the new one didn't have any of them.
  Fixed this by always removing current scripts if they exist.

* Essential pkgs are never removed (they are replaced) so the pre remove
  action target was never called, now it all works properly.

Bumped XBPS_RELVER because I consider these bugs so important.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20100118184932-pdsb0djvf0swylm3
2010-01-18 19:49:32 +01:00
..
fetch Sync fetch code with libfetch-2.27. 2010-01-11 20:24:21 +01:00
cmpver.c Implemented support for working with remote repositories. 2009-10-27 01:46:00 +01:00
config_files.c Split unpack.c config files and remove obsoletes code into its own files. 2009-11-28 05:43:21 +01:00
configure.c Error and warning messages should go to stderr, make it so. 2010-01-15 15:19:16 +01:00
download.c Some changes to know if a file was downloaded successfully or not. 2009-11-24 05:03:26 +00:00
fexec.c Implemented support for working with remote repositories. 2009-10-27 01:46:00 +01:00
humanize_number.c Implemented support for working with remote repositories. 2009-10-27 01:46:00 +01:00
Makefile Install shlib with 755 perms to match what the world does. 2010-01-13 16:57:21 +01:00
mkpath.c Added support for a cachedir to store downloaded binpkgs. 2009-11-28 02:38:41 +01:00
orphans.c Major changes in libxbps to implement caching in some cases. 2009-11-26 02:22:50 +00:00
pkgmatch.c xbps_pkgmatch: before checking pattern with csh_match(), try to see if 2010-01-14 01:00:42 +01:00
plist.c Implemented blueprint 'install-pkg-by-pkgmatch' as specified in 2010-01-14 02:14:31 +01:00
purge.c libxbps: share code for removing pkg files in remove.c and purge.c. 2009-12-07 06:30:06 +01:00
register.c Implemented blueprint 'install-pkg-by-pkgmatch' as specified in 2010-01-14 02:14:31 +01:00
regpkgs_dictionary.c Major changes in libxbps to implement caching in some cases. 2009-11-26 02:22:50 +00:00
remove_obsoletes.c Error and warning messages should go to stderr, make it so. 2010-01-15 15:19:16 +01:00
remove.c Error and warning messages should go to stderr, make it so. 2010-01-15 15:19:16 +01:00
repository_finddeps.c Implemented blueprint 'install-pkg-by-pkgmatch' as specified in 2010-01-14 02:14:31 +01:00
repository_findpkg.c xbps_repository_install_pkg: don't forget to release repository pool stuff. 2010-01-14 18:58:14 +01:00
repository_plist.c Implemented blueprint 'install-pkg-by-pkgmatch' as specified in 2010-01-14 02:14:31 +01:00
repository_pool.c xbps_repository_pool_init: fix memleaks in error paths, found by cppcheck. 2010-01-18 00:26:50 +01:00
repository_sync_index.c repository_sync_index.c: add missing sys/stat.h. 2009-12-18 13:20:54 +01:00
repository.c Rename some function from lib/repository* with more meaningful names. 2009-11-30 12:08:46 +01:00
requiredby.c Major changes in libxbps to implement caching in some cases. 2009-11-26 02:22:50 +00:00
sha256.c Properly build shared/static libxbps and utils. 2009-10-30 12:17:26 +01:00
sortdeps.c xbps_sort_pkg_deps: add debugging, use xbps_pkgdep_match(). 2009-11-29 05:53:27 +01:00
state.c Implemented blueprint 'install-pkg-by-pkgmatch' as specified in 2010-01-14 02:14:31 +01:00
unpack.c xbps_unpack_binary_pkg: fixed some bugs while upgrading essential pkgs. 2010-01-18 19:49:32 +01:00
util.c xbps_yesno/noyes: change the funcs to only accept "yes" or "no" 2009-12-22 12:27:59 +01:00