From b47dc77c898b8e21d2370a8f6cb2e46d393a0ed2 Mon Sep 17 00:00:00 2001 From: jonas Date: Sat, 10 Jun 2006 19:38:05 +0000 Subject: Add only existing addon tweakd dirs. Ignore .svn from tweak dirs. git-svn-id: svn+ssh://xayide/home/jonas/private_svn/fleshybrid/trunk@6 8f53b18a-e215-0410-8885-9f593d34873e --- 2_install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/2_install.sh b/2_install.sh index 879e171..6a7745c 100755 --- a/2_install.sh +++ b/2_install.sh @@ -34,7 +34,9 @@ else mount "$rootdev_host" "$mountpoint" rsync -aH "$targettemp/" "${mountpoint%/}" for addon in $addons; do - rsync -aH "./addons/$addon/" "${mountpoint%/}" + if [ -d "./addons/$addon/" ]; then + rsync -aH --exclude=.svn "./addons/$addon/" "${mountpoint%/}" + fi done umount "$mountpoint" # [ -n "$bootdev_host" ] && umount "$mountpoint/boot" || true -- cgit v1.2.3