diff options
author | jonas <jonas@8f53b18a-e215-0410-8885-9f593d34873e> | 2006-06-10 19:38:05 +0000 |
---|---|---|
committer | jonas <jonas@8f53b18a-e215-0410-8885-9f593d34873e> | 2006-06-10 19:38:05 +0000 |
commit | b47dc77c898b8e21d2370a8f6cb2e46d393a0ed2 (patch) | |
tree | 422b34096542fd817525fe858fbbcec92aa3faf9 | |
parent | 325a45910bca2d565ea3e230e45c7c2104ed6d99 (diff) |
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
-rwxr-xr-x | 2_install.sh | 4 |
1 files changed, 3 insertions, 1 deletions
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 |