summaryrefslogtreecommitdiff
path: root/bin/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bootstrap')
-rwxr-xr-xbin/bootstrap7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/bootstrap b/bin/bootstrap
index 5ae11d7..e2d7e17 100755
--- a/bin/bootstrap
+++ b/bin/bootstrap
@@ -3,7 +3,10 @@
# After running this, other packages can be installed using 'pkg'
HG=hg
-if ([ ! -e $HOME/.zshrc ]) {
+
+# zsh keeps complaining about not having a configuration,
+# so let's be kind and give it an empty one.
+if ! [[ -e $HOME/.zshrc ]] {
RCEMPTY=yes
touch $HOME/.zshrc
}
@@ -26,12 +29,10 @@ if ( ! which hg &> /dev/null) {
HG="$HOME/packages/.mercurial-bin/mercurial-1.0.1/hg"
}
-# Fetch the core package, containing checklinks and pkg
cd ~/packages
echo "fetching core"
$HG clone ssh://derf.homelinux.org/var/packages_root/core
-# Create symlinks for pkg and checklinks
cd core
bin/checklinks
for i in bin/*(*); {