summaryrefslogtreecommitdiff
path: root/include/bootstrap
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-11-15 20:20:56 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2008-11-15 20:20:56 +0100
commit36db5ade7de3a37679e56f0055c7f3d478cc43b8 (patch)
treef867b7963634626b1b3c044caaf6c128af45840b /include/bootstrap
parent9928edd25ecb1b480f8fb3fbd7bce207f86d3424 (diff)
bootstrap: Write config before executing pkg
Diffstat (limited to 'include/bootstrap')
-rwxr-xr-xinclude/bootstrap3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/bootstrap b/include/bootstrap
index 462d513..3935909 100755
--- a/include/bootstrap
+++ b/include/bootstrap
@@ -33,10 +33,9 @@ echo "fetching core..."
git clone $PKG_ROOT/core
cd core || exit 1
+echo "PKG_ROOT='$PKG_ROOT'" > ~/.pkg.conf
bin/checklinks
bin/pkg eval populate_collected core
bin/pkg eval exec_hook core post-add
(( rcempty )) && rm ~/.zshrc
-
-echo "PKG_ROOT='$PKG_ROOT'" > ~/.pkg.conf