From 1475a6802f47230c01cf4a37ee5a6686a4718f79 Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Mon, 15 Dec 2008 00:29:02 -0500 Subject: opkg: add a simple way to pass a path environment for pre/post scription execution when in offline mode. Thanks for Christopher Hall git-svn-id: http://opkg.googlecode.com/svn/trunk@155 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/args.h') 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 -- cgit v0.9.1