diff options
author | Glenn L McGrath | 2001-02-10 02:04:40 +0000 |
---|---|---|
committer | Glenn L McGrath | 2001-02-10 02:04:40 +0000 |
commit | c30ab0f4a8f5c7101a6b897d43d87b1f97f8971d (patch) | |
tree | e4699df0a12fd03f11f7c28135e0b1abcacdb8fe | |
parent | e78fd0f7211121cc49b60cede1c2a5273cfcfe29 (diff) | |
download | busybox-c30ab0f4a8f5c7101a6b897d43d87b1f97f8971d.zip busybox-c30ab0f4a8f5c7101a6b897d43d87b1f97f8971d.tar.gz |
New applet: dpkg
-rw-r--r-- | Config.h | 1 | ||||
-rw-r--r-- | applets.h | 3 | ||||
-rw-r--r-- | applets/usage.c | 8 | ||||
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | usage.c | 8 |
5 files changed, 23 insertions, 0 deletions
@@ -25,6 +25,7 @@ #define BB_DIRNAME #define BB_DMESG //#define BB_DOS2UNIX +//#define BB_DPKG //#define BB_DPKG_DEB //#define BB_DUTMP #define BB_DU @@ -89,6 +89,9 @@ const struct BB_applet applets[] = { #ifdef BB_DOS2UNIX APPLET("dos2unix", dos2unix_main, _BB_DIR_USR_BIN, dos2unix_usage) #endif +#ifdef BB_DPKG + APPLET("dpkg", dpkg_main, _BB_DIR_USR_BIN, dpkg_usage) +#endif #ifdef BB_DPKG_DEB APPLET("dpkg-deb", dpkg_deb_main, _BB_DIR_USR_BIN, dpkg_deb_usage) #endif diff --git a/applets/usage.c b/applets/usage.c index 1686910..6f5b3c4 100644 --- a/applets/usage.c +++ b/applets/usage.c @@ -241,6 +241,14 @@ const char dos2unix_usage[] = ; #endif +#if defined BB_DPKG +const char dpkg_usage[] = + "udpkg <-i|-r|--unpack|--configure> my.deb" +#ifndef BB_FEATURE_TRIVIAL_HELP +#endif + ; +#endif + #if defined BB_DPKG_DEB const char dpkg_deb_usage[] = "dpkg-deb [-cexX] file directory" diff --git a/include/applets.h b/include/applets.h index 80ff1fe..582b2fa 100644 --- a/include/applets.h +++ b/include/applets.h @@ -89,6 +89,9 @@ const struct BB_applet applets[] = { #ifdef BB_DOS2UNIX APPLET("dos2unix", dos2unix_main, _BB_DIR_USR_BIN, dos2unix_usage) #endif +#ifdef BB_DPKG + APPLET("dpkg", dpkg_main, _BB_DIR_USR_BIN, dpkg_usage) +#endif #ifdef BB_DPKG_DEB APPLET("dpkg-deb", dpkg_deb_main, _BB_DIR_USR_BIN, dpkg_deb_usage) #endif @@ -241,6 +241,14 @@ const char dos2unix_usage[] = ; #endif +#if defined BB_DPKG +const char dpkg_usage[] = + "udpkg <-i|-r|--unpack|--configure> my.deb" +#ifndef BB_FEATURE_TRIVIAL_HELP +#endif + ; +#endif + #if defined BB_DPKG_DEB const char dpkg_deb_usage[] = "dpkg-deb [-cexX] file directory" |