summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-12-27 06:54:08 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2008-12-27 06:54:08 +0100
commitd66b8b7e9220c8c5494c3cf1ff9bb82745fc9d16 (patch)
treed6b1f8b294cb1980b133c3f15796f512662991f2 /include
parent16da995dae1dee0dcce3bb1268f3aedede88bf3b (diff)
include/bootstrap: Add ~/bin to the path
Diffstat (limited to 'include')
-rwxr-xr-xinclude/bootstrap2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/bootstrap b/include/bootstrap
index a103200..50adeba 100755
--- a/include/bootstrap
+++ b/include/bootstrap
@@ -32,6 +32,7 @@ if ! [[ -e ~/.zshrc ]] {
# Make basic dirctories
echo 'Creating the basic directory structure'
mkdir -p ~/bin
+path=(~/bin $path)
mkdir -p $PKG_PATH/.collected/man/man{1..8}
if ! which git &> /dev/null; then
@@ -50,6 +51,7 @@ echo "PKG_ROOT='$PKG_ROOT'" > ~/.pkg.conf
echo "PKG_PATH=\"${PKG_PATH/$HOME/\$HOME}\"" >> ~/.pkg.conf
echo 'Installing core package'
+rehash
bin/checklinks
bin/pkg eval populate_collected core
bin/pkg eval exec_hook core post-add