diff options
author | Timo Teras <timo.teras@iki.fi> | 2008-11-07 13:05:55 +0200 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2008-11-07 13:05:55 +0200 |
commit | 36f73847ee4faa9fd84d2bd5be3f28ff70c7bf19 (patch) | |
tree | c3210191279f1aad40ee58b2b0546aa512245ecb /src/apk_package.h | |
parent | 1c342b3eba1fd86734085a220cf0b2b590f72b9b (diff) | |
download | apk-tools-36f73847ee4faa9fd84d2bd5be3f28ff70c7bf19.tar.gz apk-tools-36f73847ee4faa9fd84d2bd5be3f28ff70c7bf19.tar.bz2 apk-tools-36f73847ee4faa9fd84d2bd5be3f28ff70c7bf19.tar.xz apk-tools-36f73847ee4faa9fd84d2bd5be3f28ff70c7bf19.zip |
pkg: support for new scripts
Diffstat (limited to 'src/apk_package.h')
-rw-r--r-- | src/apk_package.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/apk_package.h b/src/apk_package.h index c3649fd..68e63e1 100644 --- a/src/apk_package.h +++ b/src/apk_package.h @@ -18,12 +18,14 @@ struct apk_database; struct apk_name; -#define APK_SCRIPT_PRE_INSTALL 0 -#define APK_SCRIPT_POST_INSTALL 1 -#define APK_SCRIPT_PRE_DEINSTALL 2 -#define APK_SCRIPT_POST_DEINSTALL 3 -#define APK_SCRIPT_PRE_UPGRADE 4 -#define APK_SCRIPT_POST_UPGRADE 5 +#define APK_SCRIPT_INVALID -1 +#define APK_SCRIPT_GENERIC 0 +#define APK_SCRIPT_PRE_INSTALL 1 +#define APK_SCRIPT_POST_INSTALL 2 +#define APK_SCRIPT_PRE_DEINSTALL 3 +#define APK_SCRIPT_POST_DEINSTALL 4 +#define APK_SCRIPT_PRE_UPGRADE 5 +#define APK_SCRIPT_POST_UPGRADE 6 struct apk_script { struct hlist_node script_list; |