New applet: dpkg

This commit is contained in:
Glenn L McGrath 2001-02-10 02:04:40 +00:00
parent e78fd0f721
commit c30ab0f4a8
5 changed files with 23 additions and 0 deletions

View File

@ -25,6 +25,7 @@
#define BB_DIRNAME #define BB_DIRNAME
#define BB_DMESG #define BB_DMESG
//#define BB_DOS2UNIX //#define BB_DOS2UNIX
//#define BB_DPKG
//#define BB_DPKG_DEB //#define BB_DPKG_DEB
//#define BB_DUTMP //#define BB_DUTMP
#define BB_DU #define BB_DU

View File

@ -89,6 +89,9 @@ const struct BB_applet applets[] = {
#ifdef BB_DOS2UNIX #ifdef BB_DOS2UNIX
APPLET("dos2unix", dos2unix_main, _BB_DIR_USR_BIN, dos2unix_usage) APPLET("dos2unix", dos2unix_main, _BB_DIR_USR_BIN, dos2unix_usage)
#endif #endif
#ifdef BB_DPKG
APPLET("dpkg", dpkg_main, _BB_DIR_USR_BIN, dpkg_usage)
#endif
#ifdef BB_DPKG_DEB #ifdef BB_DPKG_DEB
APPLET("dpkg-deb", dpkg_deb_main, _BB_DIR_USR_BIN, dpkg_deb_usage) APPLET("dpkg-deb", dpkg_deb_main, _BB_DIR_USR_BIN, dpkg_deb_usage)
#endif #endif

View File

@ -241,6 +241,14 @@ const char dos2unix_usage[] =
; ;
#endif #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 #if defined BB_DPKG_DEB
const char dpkg_deb_usage[] = const char dpkg_deb_usage[] =
"dpkg-deb [-cexX] file directory" "dpkg-deb [-cexX] file directory"

View File

@ -89,6 +89,9 @@ const struct BB_applet applets[] = {
#ifdef BB_DOS2UNIX #ifdef BB_DOS2UNIX
APPLET("dos2unix", dos2unix_main, _BB_DIR_USR_BIN, dos2unix_usage) APPLET("dos2unix", dos2unix_main, _BB_DIR_USR_BIN, dos2unix_usage)
#endif #endif
#ifdef BB_DPKG
APPLET("dpkg", dpkg_main, _BB_DIR_USR_BIN, dpkg_usage)
#endif
#ifdef BB_DPKG_DEB #ifdef BB_DPKG_DEB
APPLET("dpkg-deb", dpkg_deb_main, _BB_DIR_USR_BIN, dpkg_deb_usage) APPLET("dpkg-deb", dpkg_deb_main, _BB_DIR_USR_BIN, dpkg_deb_usage)
#endif #endif

View File

@ -241,6 +241,14 @@ const char dos2unix_usage[] =
; ;
#endif #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 #if defined BB_DPKG_DEB
const char dpkg_deb_usage[] = const char dpkg_deb_usage[] =
"dpkg-deb [-cexX] file directory" "dpkg-deb [-cexX] file directory"