diff options
author | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:29:02 (EST) |
---|---|---|
committer | ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2008-12-15 00:29:02 (EST) |
commit | 1475a6802f47230c01cf4a37ee5a6686a4718f79 (patch) | |
tree | bfc156c15ecfc5e98fd507fdaaba0ead85d14a8d /libopkg/args.h | |
parent | 2858b18db8d4cbbf5b76fee3abd734c2fc773e12 (diff) |
opkg: add a simple way to pass a path environment for pre/post scription execution when in offline mode.
Thanks for Christopher Hall <hsw@openmoko.com>
git-svn-id: http://opkg.googlecode.com/svn/trunk@155 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libopkg/args.h')
-rw-r--r-- | libopkg/args.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libopkg/args.h b/libopkg/args.h index 395e332..61f32bc 100644 --- a/libopkg/args.h +++ b/libopkg/args.h @@ -40,6 +40,7 @@ struct args int noreadfeedsfile; int autoremove; char *offline_root; + char *offline_root_path; char *offline_root_pre_script_cmd; char *offline_root_post_script_cmd; char *cache; @@ -58,6 +59,7 @@ typedef struct args args_t; #define ARGS_DEFAULT_FORCE_REMOVAL_OF_DEPENDENT_PACKAGES 0 #define ARGS_DEFAULT_FORCE_SPACE 0 #define ARGS_DEFAULT_OFFLINE_ROOT NULL +#define ARGS_DEFAULT_OFFLINE_ROOT_PATH NULL #define ARGS_DEFAULT_OFFLINE_ROOT_PRE_SCRIPT_CMD NULL #define ARGS_DEFAULT_OFFLINE_ROOT_POST_SCRIPT_CMD NULL #define ARGS_DEFAULT_NOACTION 0 |