about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2016-09-13 17:20:16 +0100
committerSilvino Silva <silvino@bk.ru>2016-09-13 17:20:16 +0100
commit4c909d921b56602944690307e774dc8923e5ec31 (patch)
tree799ac94baf36ca5f2bb1612c70dc926a4a61a809
parent78fd3ada82fbaa4933fe6676c589fc2a905187f8 (diff)
downloaddoc-4c909d921b56602944690307e774dc8923e5ec31.tar.gz
fix ports and prt-get configuration build as user
-rw-r--r--core/conf/prt-get.conf6
-rw-r--r--core/ports.html6
2 files changed, 6 insertions, 6 deletions
diff --git a/core/conf/prt-get.conf b/core/conf/prt-get.conf
index 384a5b2..1ed5143 100644
--- a/core/conf/prt-get.conf
+++ b/core/conf/prt-get.conf
@@ -49,6 +49,6 @@ runscripts yes            # (no|yes)
 
 ### alternative commands
 makecommand      sudo -H -u pkgmk fakeroot pkgmk
-addcommand       pkgadd
-removecommand    pkgrm
-runscriptcommand sh
+addcommand       sudo pkgadd
+removecommand    sudo pkgrm
+runscriptcommand sudo sh
diff --git a/core/ports.html b/core/ports.html
index ee8212b..7172343 100644
--- a/core/ports.html
+++ b/core/ports.html
@@ -200,9 +200,9 @@
 
         ### alternative commands
         makecommand      sudo -H -u pkgmk fakeroot pkgmk
-        addcommand       pkgadd
-        removecommand    pkgrm
-        runscriptcommand sh
+        addcommand       sudo pkgadd
+        removecommand    sudo pkgrm
+        runscriptcommand sudo sh
         </pre>
 
         <a href="index.html">Core OS Index</a>