From fb10e0c797b649dc036bc0432dc77cffaabbc56d Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 1 Jun 2007 13:43:41 -0400 Subject: Drop --usesudo option and add some checks related to ASROOT Drop the --usesudo option and use it by default if running as a non-root user. Check the usage of the --asroot option and do not allow it to be used as a normal user. A few other small fixes, including a typo in $confdir. Signed-off-by: Dan McGee --- doc/makepkg.8 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc') diff --git a/doc/makepkg.8 b/doc/makepkg.8 index 2f7c359b..9135be21 100644 --- a/doc/makepkg.8 +++ b/doc/makepkg.8 @@ -101,11 +101,11 @@ Install missing dependencies using \fBpacman\fP. When missing build-time or run-time dependencies are found, \fBpacman\fP will try to resolve them. If successful, the missing packages will be downloaded and installed. .TP -.B \-S, --usesudo -Use \fBsudo\fP to perform all operations that require \fBpacman\fP. This is -useful for \fB--install\fP, \fB--rmdeps\fP, and \fB--syncdeps\fP. If you are -building packages as a non-root user as recommended, this option should be used -if using any option that calls \fBpacman\fP. +.B \--asroot +This option allows you to run \fBmakepkg\fP as root. You should not normally +run \fBmakepkg\fP as root unless you know what you are doing. For any +operations that require \fBpacman\fP, \fBsudo\fP is normally used; this switch +will call \fBpacman\fP directly. .TP .B \--noconfirm (Passed to \fBpacman\fP) Prevent \fBpacman\fP from waiting for user input -- cgit v1.2.3-24-g4f1b