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

Last change on this file since 45918 was 45685, checked in by obi, 4 years ago

fix

  • Property svn:executable set to *
File size: 367 bytes
Line 
1#!/bin/sh
2
3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
4 opkg update
5 opkg install titan-plugin-instar --dest $1
6fi
7
8INSTDIR="$1"
9PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/instar"
10
11if [ -e /tmp/instar.conf ]; then
12 mv "$PLUGINDIR/instar.conf" "$PLUGINDIR/instar.conf_org"
13 cp /tmp/instar.conf "$PLUGINDIR/instar.conf"
14 rm /tmp/instar.conf
15fi
16
17exit 0
Note: See TracBrowser for help on using the repository browser.