diff options
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; |