New applet: dpkg
authorGlenn L McGrath <bug1@ihug.co.nz>
Sat, 10 Feb 2001 02:04:40 +0000 (02:04 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Sat, 10 Feb 2001 02:04:40 +0000 (02:04 -0000)
Config.h
applets.h
applets/usage.c
include/applets.h
usage.c

index 517fa2873a9f7669f57ba04971d59afd12797e01..65d57d20ec2cbfb215b90d937da9e2b52e41b602 100644 (file)
--- a/Config.h
+++ b/Config.h
@@ -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
index 80ff1feb3a0eb89502e41d0508df09b7de79b4d7..582b2fa385af9118c3a35761e679316522892b75 100644 (file)
--- a/applets.h
+++ b/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
index 1686910d59052c352bd17c3a875a3a6c4102438e..6f5b3c47e3b9872493735a7ea9c3a78d5aecc7dd 100644 (file)
@@ -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"
index 80ff1feb3a0eb89502e41d0508df09b7de79b4d7..582b2fa385af9118c3a35761e679316522892b75 100644 (file)
@@ -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/usage.c b/usage.c
index 1686910d59052c352bd17c3a875a3a6c4102438e..6f5b3c47e3b9872493735a7ea9c3a78d5aecc7dd 100644 (file)
--- a/usage.c
+++ b/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"