summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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