author | zecke <zecke> | 2004-08-14 12:05:39 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-08-14 12:05:39 (UTC) |
commit | 3df06db9e6fd268c7d234be05b01a2303dc0f7ba (patch) (unidiff) | |
tree | 6a642674a0a69729c207337e63e20b8e02f40ec4 /noncore/tools/opie-sh/scripts/launcher_refresh.sh | |
parent | 7cee03c63afadac76e87e276a5ef7b1bba27847b (diff) | |
download | opie-3df06db9e6fd268c7d234be05b01a2303dc0f7ba.zip opie-3df06db9e6fd268c7d234be05b01a2303dc0f7ba.tar.gz opie-3df06db9e6fd268c7d234be05b01a2303dc0f7ba.tar.bz2 |
Do not hardcode /opt/QtPalmtop but use $OPIEDIR
Diffstat (limited to 'noncore/tools/opie-sh/scripts/launcher_refresh.sh') (more/less context) (ignore whitespace changes)
-rwxr-xr-x | noncore/tools/opie-sh/scripts/launcher_refresh.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/tools/opie-sh/scripts/launcher_refresh.sh b/noncore/tools/opie-sh/scripts/launcher_refresh.sh index 7850508..c3b0617 100755 --- a/noncore/tools/opie-sh/scripts/launcher_refresh.sh +++ b/noncore/tools/opie-sh/scripts/launcher_refresh.sh | |||
@@ -14,10 +14,10 @@ | |||
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 | OPIE_SH=opie-sh | 17 | OPIE_SH=$OPIEDIR/bin/opie-sh |
18 | 18 | ||
19 | launcher_refresh() { | 19 | launcher_refresh() { |
20 | (echo "<img src=/opt/QtPalmtop/pics/opie-sh-scripts/launcher_refresh.png>" | 20 | (echo "<img src=$OPIEDIR/pics/opie-sh-scripts/launcher_refresh.png>" |
21 | echo "<h3>Refresh successful!</h3><br>" | 21 | echo "<h3>Refresh successful!</h3><br>" |
22 | echo the launcher has been refreshed. | 22 | echo the launcher has been refreshed. |
23 | echo | 23 | echo |
@@ -36,9 +36,9 @@ cleanup() { | |||
36 | # | 36 | # |
37 | # main | 37 | # main |
38 | 38 | ||
39 | /opt/QtPalmtop/bin/qcop QPE/TaskBar "reloadInputMethods()" | 39 | $OPIEDIR/bin/qcop QPE/TaskBar "reloadInputMethods()" |
40 | #/opt/QtPalmtop/bin/qcop QPE/System "restart()" | 40 | #$OPIEDIR/bin/qcop QPE/System "restart()" |
41 | /opt/QtPalmtop/bin/qcop QPE/System "linkChanged(QString)" | 41 | $OPIEDIR/bin/qcop QPE/System "linkChanged(QString)" |
42 | 42 | ||
43 | launcher_refresh | 43 | launcher_refresh |
44 | cleanup | 44 | cleanup |