|
Last change
on this file since 46274 was 46274, checked in by obi, 3 years ago |
|
update lost files with install echo
|
-
Property svn:executable
set to
*
|
|
File size:
499 bytes
|
| Line | |
|---|
| 1 | #!/bin/sh
|
|---|
| 2 |
|
|---|
| 3 | echo Use Install Dest: $1
|
|---|
| 4 | echo Start Install Script: $0
|
|---|
| 5 |
|
|---|
| 6 | INSTDIR="$1"
|
|---|
| 7 | PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdpearl1"
|
|---|
| 8 |
|
|---|
| 9 | if [ `cat /proc/version | grep stm24 | wc -l` -eq 1 ]; then
|
|---|
| 10 | cd /tmp/stm24
|
|---|
| 11 | else
|
|---|
| 12 | cd /tmp/stm23
|
|---|
| 13 | fi
|
|---|
| 14 |
|
|---|
| 15 | cp -RP lcdpearl1 "$INSTDIR/usr/local/share/titan/plugins"
|
|---|
| 16 | cd /tmp
|
|---|
| 17 | rm -rf stm24
|
|---|
| 18 | rm -rf stm23
|
|---|
| 19 |
|
|---|
| 20 | if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
|
|---|
| 21 | opkg update
|
|---|
| 22 | opkg install titan-plugin-tools-lcdpearl1 --dest $1
|
|---|
| 23 | fi
|
|---|
| 24 |
|
|---|
| 25 | exit 0
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.