diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-05-31 13:52:15 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-05-31 13:52:15 +0200 |
commit | 5c612e9869d965c1bc6691c67cc76ed8b6f7a952 (patch) | |
tree | 7e655aa4e9f19555eb25b459cf95609a3956822a | |
parent | 3f5f420513a27428aad7b8aaff343ab2e99eada1 (diff) | |
parent | 38be454a16c22ea6260a7b8b226997902a84b695 (diff) |
merge
-rwxr-xr-x | bin/bootstrap | 10 | ||||
-rwxr-xr-x | bin/pkg | 4 |
2 files changed, 10 insertions, 4 deletions
diff --git a/bin/bootstrap b/bin/bootstrap index 97bf94b..7609ed8 100755 --- a/bin/bootstrap +++ b/bin/bootstrap @@ -13,8 +13,8 @@ mkdir -p ~/var/tmp/incoming if ( ! which hg &> /dev/null) { echo 'Mercurial not found, fetching...' cd ~/packages - ssh derf.homelinux.org 'tar cz -C ~/var/packages_root mercurial-bin' | tar xz - HG="$HOME/packages/mercurial-bin/mercurial-1.0.1/hg" + ssh derf.homelinux.org 'tar cz -C ~/var/packages_root .mercurial-bin' | tar xz + HG="$HOME/packages/.mercurial-bin/mercurial-1.0.1/hg" } # Fetch the core package, containing checklinks and pkg @@ -25,5 +25,7 @@ $HG clone ssh://derf.homelinux.org/var/packages_root/core # Create symlinks for pkg and checklinks cd core bin/checklinks -cd ~/packages/mercurial-bin -~/bin/checklinks +if ([ -d $HOME/packages/.mercurial-bin ]) { + cd ~/packages/.mercurial-bin + ~/bin/checklinks +} @@ -180,6 +180,10 @@ pkg_info () { echo $LOG | grep -m1 'date:' | grep -Eo '[A-Z][a-z]{2}.*' info "repo size: " du -sh .hg | grep -o '.*[KMG]' + if ([ -d hooks ]) { + info "Hooks: " + ls hooks + } if ([ -r .deps ]) { info "Dependencies:\n" cat .deps |