diff options
-rw-r--r-- | usr.sbin/pkg_install/create/main.c | 8 | ||||
-rw-r--r-- | usr.sbin/pkg_install/create/perform.c | 5 |
2 files changed, 5 insertions, 8 deletions
diff --git a/usr.sbin/pkg_install/create/main.c b/usr.sbin/pkg_install/create/main.c index bb6a04929f80..5e069d30db2e 100644 --- a/usr.sbin/pkg_install/create/main.c +++ b/usr.sbin/pkg_install/create/main.c @@ -36,8 +36,8 @@ char *Mtree = NULL; char *Pkgdeps = NULL; char *Origin = NULL; char PlayPen[FILENAME_MAX]; -int Dereference = 0; -int PlistOnly = 0; +int Dereference = FALSE; +int PlistOnly = FALSE; static void usage __P((void)); @@ -63,7 +63,7 @@ main(int argc, char **argv) break; case 'O': - PlistOnly = YES; + PlistOnly = TRUE; break; case 'p': @@ -115,7 +115,7 @@ main(int argc, char **argv) break; case 'h': - Dereference = 1; + Dereference = TRUE; break; case 'D': diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c index ff38910909ca..b87c55ac37ba 100644 --- a/usr.sbin/pkg_install/create/perform.c +++ b/usr.sbin/pkg_install/create/perform.c @@ -46,7 +46,7 @@ pkg_perform(char **pkgs) Package plist; int len; char *suf; - int compress = 0; + int compress = TRUE; /* default is to compress packages */ /* Preliminary setup */ sanity_check(); @@ -76,9 +76,6 @@ pkg_perform(char **pkgs) compress = FALSE; pkg[len - 4] = '\0'; } - else - /* default is to compress packages */ - compress = TRUE; } if (compress) suf = "tgz"; |