summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/sysinstall.h
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-04-30 22:40:06 +0000
committerobrien <obrien@FreeBSD.org>2002-04-30 22:40:06 +0000
commit451e89b13e6de1a22c9029acdbe0565ca18f560b (patch)
tree04291a07fc7c8d7c5c9cdbcb74819128b46fc53c /usr.sbin/sysinstall/sysinstall.h
parent968fe15c4ddd29119f7160321c6530f8df1bd320 (diff)
downloadFreeBSD-src-451e89b13e6de1a22c9029acdbe0565ca18f560b.zip
FreeBSD-src-451e89b13e6de1a22c9029acdbe0565ca18f560b.tar.gz
Add the ability to use Bzip'ed packages.
Also add the ability to use Bzip'ed distributions -- but this is exclusive of being able to use Gzip'ed distributions. Sponsored by: FreeBSD Mall, Inc.
Diffstat (limited to 'usr.sbin/sysinstall/sysinstall.h')
-rw-r--r--usr.sbin/sysinstall/sysinstall.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/sysinstall.h b/usr.sbin/sysinstall/sysinstall.h
index 7c9d9d6..eb989d1 100644
--- a/usr.sbin/sysinstall/sysinstall.h
+++ b/usr.sbin/sysinstall/sysinstall.h
@@ -803,5 +803,11 @@ extern void slice_wizard(Disk *d);
#define DEVICE_GET(d, b, f) ((d) != NULL ? (d)->get((d), (b), (f)) : NULL)
#define DEVICE_SHUTDOWN(d) ((d) != NULL ? (d)->shutdown((d)) : (void)0)
+#ifdef USE_GZIP
+#define UNZIPPER "gunzip"
+#else
+#define UNZIPPER "bunzip2"
+#endif
+
#endif
/* _SYSINSTALL_H_INCLUDE */
OpenPOWER on IntegriCloud