Changeset 45030


Ignore:
Timestamp:
12/17/20 20:38:08 (12 months ago)
Author:
obi
Message:

tpk fix instar for oebuild

Location:
ipk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.arm/tools_IP-Kamera/CONTROL/postinst

    r39499 r45030  
    11#!/bin/sh
     2
     3if [ -e /etc/.oebuild ];then
     4        opkg update
     5        opkg install titan-plugin-instar --dest $1
     6fi
     7
    28INSTDIR="$1"
    39PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/instar"
  • ipk/source.arm/tools_IP-Kamera/CONTROL/postrm

    r39499 r45030  
    11#!/bin/sh
    2 INSTDIR="$1"
    3 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/instar"
    42
    5 rm -r "$PLUGINDIR" >/dev/null 2>&1
     3if [ -e /etc/.oebuild ];then
     4        opkg remove titan-plugin-instar --dest $1
     5else
     6        INSTDIR="$1"
     7        PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/instar"
     8
     9        rm -r "$PLUGINDIR" >/dev/null 2>&1
     10fi
    611
    712exit 0
  • ipk/source.mipsel/tools_IP-Kamera/CONTROL/postinst

    r28080 r45030  
    11#!/bin/sh
     2
     3if [ -e /etc/.oebuild ];then
     4        opkg update
     5        opkg install titan-plugin-instar --dest $1
     6fi
     7
    28INSTDIR="$1"
    39PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/instar"
  • ipk/source.mipsel/tools_IP-Kamera/CONTROL/postrm

    r28080 r45030  
    11#!/bin/sh
    2 INSTDIR="$1"
    3 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/instar"
    42
    5 rm -r "$PLUGINDIR" >/dev/null 2>&1
     3if [ -e /etc/.oebuild ];then
     4        opkg remove titan-plugin-instar --dest $1
     5else
     6        INSTDIR="$1"
     7        PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/instar"
     8
     9        rm -r "$PLUGINDIR" >/dev/null 2>&1
     10fi
    611
    712exit 0
  • ipk/source.sh4/tools_IP-Kamera/CONTROL/postinst

    r24155 r45030  
    11#!/bin/sh
     2
     3if [ -e /etc/.oebuild ];then
     4        opkg update
     5        opkg install titan-plugin-instar --dest $1
     6fi
     7
    28INSTDIR="$1"
    39PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/instar"
  • ipk/source.sh4/tools_IP-Kamera/CONTROL/postrm

    r24155 r45030  
    11#!/bin/sh
    2 INSTDIR="$1"
    3 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/instar"
    42
    5 rm -r "$PLUGINDIR" >/dev/null 2>&1
     3if [ -e /etc/.oebuild ];then
     4        opkg remove titan-plugin-instar --dest $1
     5else
     6        INSTDIR="$1"
     7        PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/instar"
     8
     9        rm -r "$PLUGINDIR" >/dev/null 2>&1
     10fi
    611
    712exit 0
Note: See TracChangeset for help on using the changeset viewer.