summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-06-01 13:43:41 -0400
committerDan McGee <dan@archlinux.org>2007-06-01 13:43:41 -0400
commitfb10e0c797b649dc036bc0432dc77cffaabbc56d (patch)
tree46924f0fdadc7c65f992ac7a6e467f6d3d6c43c0 /doc
parent6f183cb9847082eab5aa4e27e25629aca31af05c (diff)
downloadpacman-fb10e0c797b649dc036bc0432dc77cffaabbc56d.tar.xz
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 <dan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/makepkg.810
1 files changed, 5 insertions, 5 deletions
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