Changeset 41796


Ignore:
Timestamp:
01/21/18 16:51:29 (4 years ago)
Author:
gost
Message:

[plugins] save skin.xml before install

Location:
ipk
Files:
6 edited

Legend:

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

    r39499 r41796  
    11#!/bin/sh
     2INSTDIR="$1" 
     3PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdsamsung"
     4
     5if [ -e /tmp/skin.xml_sam ]; then
     6        mv "$PLUGINDIR/skin.xml" "$PLUGINDIR/skin.xml_org"
     7        cp /tmp/skin.xml_sam "$PLUGINDIR/skin.xml"
     8        rm /tmp/skin.xml_sam >/dev/null 2>&1
     9fi
    210
    311exit 0
  • ipk/source.arm/tools_lcdsamsung/CONTROL/preinst

    r39499 r41796  
    33PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdsamsung"
    44
     5if [ -e "$PLUGINDIR/skin.xml" ]; then
     6        cp "$PLUGINDIR/skin.xml" /tmp/skin.xml_sam
     7fi
     8
    59rm -rf "$PLUGINDIR"
    610
  • ipk/source.mipsel/tools_lcdsamsung/CONTROL/postinst

    r30647 r41796  
    11#!/bin/sh
     2INSTDIR="$1" 
     3PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdsamsung"
     4
     5if [ -e /tmp/skin.xml_sam ]; then
     6        mv "$PLUGINDIR/skin.xml" "$PLUGINDIR/skin.xml_org"
     7        cp /tmp/skin.xml_sam "$PLUGINDIR/skin.xml"
     8        rm /tmp/skin.xml_sam >/dev/null 2>&1
     9fi
    210
    311exit 0
  • ipk/source.mipsel/tools_lcdsamsung/CONTROL/preinst

    r30647 r41796  
    33PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdsamsung"
    44
     5if [ -e "$PLUGINDIR/skin.xml" ]; then
     6        cp "$PLUGINDIR/skin.xml" /tmp/skin.xml_sam
     7fi
     8
    59rm -rf "$PLUGINDIR"
    610
  • ipk/source.sh4/tools_lcdsamsung/CONTROL/postinst

    r24156 r41796  
    11#!/bin/sh
     2INSTDIR="$1" 
     3PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdsamsung"
     4
     5if [ -e /tmp/skin.xml_sam ]; then
     6        mv "$PLUGINDIR/skin.xml" "$PLUGINDIR/skin.xml_org"
     7        cp /tmp/skin.xml_sam "$PLUGINDIR/skin.xml"
     8        rm /tmp/skin.xml_sam >/dev/null 2>&1
     9fi
    210
    311exit 0
  • ipk/source.sh4/tools_lcdsamsung/CONTROL/preinst

    r23669 r41796  
    33PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdsamsung"
    44
     5if [ -e "$PLUGINDIR/skin.xml" ]; then
     6        cp "$PLUGINDIR/skin.xml" /tmp/skin.xml_sam
     7fi
     8
    59rm -rf "$PLUGINDIR"
    610
Note: See TracChangeset for help on using the changeset viewer.