aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-06 16:55:56 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-06 16:55:56 -0300
commitef35d83446b0182f17bd93afc9cff73745121c6a (patch)
tree3c35f334a92e0bb1233ab5decb6175670c1e085b /share/hydractl
parent4b1598690c8859acbe6e2779496f05020921c9ae (diff)
downloadhydra-ef35d83446b0182f17bd93afc9cff73745121c6a.tar.gz
hydra-ef35d83446b0182f17bd93afc9cff73745121c6a.tar.bz2
Process .sync-tpc-ignore for /home /var/cache/pbuilder /var/chroot /var/lib/wicd
Diffstat (limited to 'share/hydractl')
-rwxr-xr-xshare/hydractl/sync-tpc2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydractl/sync-tpc b/share/hydractl/sync-tpc
index a24f00b..8a4d2dc 100755
--- a/share/hydractl/sync-tpc
+++ b/share/hydractl/sync-tpc
@@ -34,7 +34,7 @@ done
# Sync files
for folder in /home /var/cache/pbuilder /var/chroot /var/lib/wicd; do
- if [ -d "$folder" ]; then
+ if [ -d "$folder" ] && [ ! -e "$DEST/$folder/.sync-tpc-ignore" ]; then
$SUDO $RSYNC $folder/ $DEST/$folder/
fi
done