summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-05-25 10:13:09 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-05-25 10:13:09 +0200
commit7d6cc220288c12ce031028bc7993b32a2629231f (patch)
tree56971990d8a66d72a108c3aeb0ea3e90fd6aef7f
parent193536b77797c5d2884e781adb93c92d8af5a39c (diff)
add .pkg.conf
-rwxr-xr-xbin/bootstrap1
-rwxr-xr-xbin/pkg4
2 files changed, 5 insertions, 0 deletions
diff --git a/bin/bootstrap b/bin/bootstrap
index c5ff80c..d323ea3 100755
--- a/bin/bootstrap
+++ b/bin/bootstrap
@@ -10,6 +10,7 @@ fi
# Make basic dirctories
mkdir -p ~/bin
+mkdir -p ~/lib
mkdir -p ~/packages
mkdir -p ~/var/tmp/incoming
diff --git a/bin/pkg b/bin/pkg
index 5c59fa3..f382122 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -25,6 +25,10 @@ die () {
exit 100
}
+if [ -f $HOME/.pkg.conf ]; then
+ . $HOME/.pkg.conf
+fi
+
if [ ! -d $PDIR ]; then
die "$PDIR not found!!"
fi