From 1a1529e193960678f2b5e72db4f2a268d0cffbc9 Mon Sep 17 00:00:00 2001 From: su_v Date: Tue, 9 Sep 2014 04:02:04 +0200 Subject: default MacPorts install requires sudo to edit config file (bzr r13506.1.83) --- packaging/macosx/README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/macosx/README.txt b/packaging/macosx/README.txt index 1e1478f0f..45ed39799 100644 --- a/packaging/macosx/README.txt +++ b/packaging/macosx/README.txt @@ -10,7 +10,7 @@ $ export PATH="$MP_PREFIX/bin:$MP_PREFIX/sbin:$PATH" 3) add 'ports/' subdirectory as local portfile repository: -$ sed -e '/^rsync:/i\'$'\n'"file://$(pwd)/ports" -i "" "$MP_PREFIX/etc/macports/sources.conf" +$ sudo sed -e '/^rsync:/i\'$'\n'"file://$(pwd)/ports" -i "" "$MP_PREFIX/etc/macports/sources.conf" 4) index the new local portfile repository: -- cgit v1.2.3