summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjonas <jonas@8f53b18a-e215-0410-8885-9f593d34873e>2006-06-10 19:38:05 +0000
committerjonas <jonas@8f53b18a-e215-0410-8885-9f593d34873e>2006-06-10 19:38:05 +0000
commitb47dc77c898b8e21d2370a8f6cb2e46d393a0ed2 (patch)
tree422b34096542fd817525fe858fbbcec92aa3faf9
parent325a45910bca2d565ea3e230e45c7c2104ed6d99 (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-x2_install.sh4
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