summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-03-29 20:28:05 +0000
committertv <tv@pkgsrc.org>2004-03-29 20:28:05 +0000
commit225ca50407d7cd22df4d2d306b0cbd4b23ae264f (patch)
treee18237d511e749605998b4b538e3ea29aac4ddf8 /pkgtools/pkg_install
parentb8ca4f15f3c6998cf80ca846d26795a239eb3acc (diff)
downloadpkgsrc-225ca50407d7cd22df4d2d306b0cbd4b23ae264f.tar.gz
Remove warning on Interix; OK'd by hubertf.
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r--pkgtools/pkg_install/files/delete/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/files/delete/main.c b/pkgtools/pkg_install/files/delete/main.c
index 4d79e4924db..c0cfeb2054d 100644
--- a/pkgtools/pkg_install/files/delete/main.c
+++ b/pkgtools/pkg_install/files/delete/main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.12 2004/03/29 02:25:06 tv Exp $ */
+/* $NetBSD: main.c,v 1.13 2004/03/29 20:28:05 tv Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -11,7 +11,7 @@
#if 0
static char *rcsid = "from FreeBSD Id: main.c,v 1.11 1997/10/08 07:46:48 charnier Exp";
#else
-__RCSID("$NetBSD: main.c,v 1.12 2004/03/29 02:25:06 tv Exp $");
+__RCSID("$NetBSD: main.c,v 1.13 2004/03/29 20:28:05 tv Exp $");
#endif
#endif
@@ -184,9 +184,11 @@ main(int argc, char **argv)
warnx("missing package name(s)");
usage();
}
+#ifndef __INTERIX
if (!Fake && getuid() != 0) {
warnx("not running as root - trying to delete anyways");
}
+#endif
if (OnlyDeleteFromPkgDB) {
/* Only delete the given packages' files from pkgdb, do not
* touch the pkg itself. Used by "make reinstall" in