iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
various improvements
[distro-setup]
/
myunison
diff --git
a/myunison
b/myunison
index 30ee1cbe3e99b24851849e7e71de8d25bfa37786..f68ae34af1337111201affd1d8ff4279eec63ada 100755
(executable)
--- a/
myunison
+++ b/
myunison
@@
-1,4
+1,4
@@
-#!/bin/bash -l
+#!/bin/bash -l
x
set -eE -o pipefail
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
set -eE -o pipefail
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
@@
-83,6
+83,9
@@
else
type -t $f &>/dev/null || f=unison-gtk2 # for arch
fi
type -t $f &>/dev/null || f=unison-gtk2 # for arch
fi
+
+ s ln -sTf ~/.unison /root/.unison
+
if s $f "$host"; then
if [[ $host == frodo ]]; then
# only send data to the machine i do full backups to
if s $f "$host"; then
if [[ $host == frodo ]]; then
# only send data to the machine i do full backups to