Ignore:
Timestamp:
Feb 14, 2022, 12:29:43 PM (4 years ago)
Author:
obi
Message:

fix plugin permtime

Location:
ipk/source.sh4/tools_lcdsamsung/CONTROL
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.sh4/tools_lcdsamsung/CONTROL/postinst

    r43292 r45683  
    33PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdsamsung"
    44
    5 if [ -e /tmp/skin.xml_sam ]; then
     5if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
    66        mv "$PLUGINDIR/skin.xml" "$PLUGINDIR/skin.xml_org"
    77        cp /tmp/skin.xml_sam "$PLUGINDIR/skin.xml"
     
    99fi
    1010
    11 if [ -e /etc/.oebuild ];then
     11if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
    1212        opkg update
    1313        opkg install titan-plugin-lcdsamsung --dest $1
  • ipk/source.sh4/tools_lcdsamsung/CONTROL/postrm

    r43292 r45683  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
    44        opkg remove titan-plugin-lcdsamsung --dest $1
    55fi
  • ipk/source.sh4/tools_lcdsamsung/CONTROL/preinst

    r41796 r45683  
    33PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdsamsung"
    44
    5 if [ -e "$PLUGINDIR/skin.xml" ]; then
     5if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
    66        cp "$PLUGINDIR/skin.xml" /tmp/skin.xml_sam
    77fi
Note: See TracChangeset for help on using the changeset viewer.