source: ipk/source.sh4/tools_IP-Kamera/CONTROL/postinst

Last change on this file was 46274, checked in by obi, 3 years ago

update lost files with install echo

  • Property svn:executable set to *
File size: 456 bytes
RevLine 
[16100]1#!/bin/sh
[45030]2
[46274]3echo Use Install Dest: $1
4echo Start Install Script: $0
5
6
[46249]7if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
[45030]8 opkg update
[45958]9 opkg install titan-plugin-tools-instar --dest $1
[45030]10fi
11
[23447]12INSTDIR="$1"
[23669]13PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/instar"
14
[45684]15if [ -e /tmp/instar.conf ]; then
[23669]16 mv "$PLUGINDIR/instar.conf" "$PLUGINDIR/instar.conf_org"
17 cp /tmp/instar.conf "$PLUGINDIR/instar.conf"
[18513]18 rm /tmp/instar.conf
19fi
20
[45030]21exit 0
Note: See TracBrowser for help on using the repository browser.