Added support for pre/post installation script with binary packages.

For now all is handled in a script "prepost-action.sh" in package's
metadata directory, with a target in the shell script.

--HG--
extra : convert_revision : 93ed92d9fbb12939c751354cff464cc097379520
This commit is contained in:
Juan RP
2008-12-28 08:44:01 +01:00
parent db1227ab76
commit 4148b5e4b6
4 changed files with 53 additions and 12 deletions

View File

@@ -164,8 +164,8 @@ int xbps_install_binary_pkg(const char *, const char *);
int xbps_install_binary_pkg_from_repolist(prop_object_t, void *, bool *);
int xbps_register_pkg(const char *, const char *, const char *);
int xbps_unpack_binary_pkg(prop_dictionary_t, prop_dictionary_t,
int (*cb)(struct archive *));
int xbps_unpack_archive_cb(struct archive *);
int (*cb)(struct archive *, const char *));
int xbps_unpack_archive_cb(struct archive *, const char *);
bool xbps_pkg_has_rundeps(prop_dictionary_t);
#endif /* !_XBPS_PLIST_H_ */