From 79edd7bfba5ca3ebca227d642da0021375b6cffe Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 8 Feb 2012 21:06:35 +0530 Subject: [PATCH] Remove obsolete warning when running install as non root user --- setup/install.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/setup/install.py b/setup/install.py index 151f8b6f44..a23fe842a1 100644 --- a/setup/install.py +++ b/setup/install.py @@ -156,9 +156,6 @@ class Develop(Command): self.warn('Failed to compile mount helper. Auto mounting of', ' devices will not work') - if not isbsd and os.geteuid() != 0: - return self.warn('Must be run as root to compile mount helper. Auto ' - 'mounting of devices will not work.') src = os.path.join(self.SRC, 'calibre', 'devices', 'linux_mount_helper.c') dest = os.path.join(self.staging_bindir, 'calibre-mount-helper') self.info('Installing mount helper to '+ dest)