summaryrefslogtreecommitdiff
path: root/noncore/tools/opie-sh/scripts/rsyncme.sh
Unidiff
Diffstat (limited to 'noncore/tools/opie-sh/scripts/rsyncme.sh') (more/less context) (ignore whitespace changes)
-rwxr-xr-xnoncore/tools/opie-sh/scripts/rsyncme.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/tools/opie-sh/scripts/rsyncme.sh b/noncore/tools/opie-sh/scripts/rsyncme.sh
index c09aea8..3d56c12 100755
--- a/noncore/tools/opie-sh/scripts/rsyncme.sh
+++ b/noncore/tools/opie-sh/scripts/rsyncme.sh
@@ -14,14 +14,14 @@
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details. 15# GNU General Public License for more details.
16# 16#
17# 20020517-1 - added icon, changed name in launcher 17# 20020517-1 - added icon, changed name in launcher
18# 18#
19 19
20CFG=/opt/QtPalmtop/share/config/rsyncme.cfg 20CFG=$OPIEDIR/share/config/rsyncme.cfg
21OPIE_SH=opie-sh 21OPIE_SH=$OPIEDIR/bin/opie-sh
22 22
23update_cfg() { 23update_cfg() {
24 # check if dir is in CFG and if not add it 24 # check if dir is in CFG and if not add it
25 if [ "`grep -c $DIR $CFG`" = "0" ] 25 if [ "`grep -c $DIR $CFG`" = "0" ]
26 thenecho $DIR >>$CFG 26 thenecho $DIR >>$CFG
27 fi 27 fi
@@ -65,13 +65,13 @@ show_dirs() {
65 ( echo "<h3>Directorys chosen for sync:</h3>" 65 ( echo "<h3>Directorys chosen for sync:</h3>"
66 echo "<ul><li>$SRCDIR<li>$DESTDIR</ul>" ) \ 66 echo "<ul><li>$SRCDIR<li>$DESTDIR</ul>" ) \
67 | $OPIE_SH -t "Got directories" -f 67 | $OPIE_SH -t "Got directories" -f
68} 68}
69 69
70about() { 70about() {
71 ( echo "<img src=/opt/QtPalmtop/pics/opie-sh-scripts/rsyncme.png>" 71 ( echo "<img src=$OPIEDIR/pics/opie-sh-scripts/rsyncme.png>"
72 echo "<h3>About</h3>" 72 echo "<h3>About</h3>"
73 echo "This little App should make it possible for you to " 73 echo "This little App should make it possible for you to "
74 echo "easily choose the wanted options for an rsync process." 74 echo "easily choose the wanted options for an rsync process."
75 echo "<p>" 75 echo "<p>"
76 ) | $OPIE_SH -t rsync-helper -f & 76 ) | $OPIE_SH -t rsync-helper -f &
77 SCREENCLEAN=$! 77 SCREENCLEAN=$!