Changeset 24724


Ignore:
Timestamp:
Nov 3, 2013, 4:27:51 PM (7 years ago)
Author:
obi
Message:

[tpk] fix lcdsamsung picons

Location:
ipk/source/lcdsamsungskins_PICONS_320x240/CONTROL
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ipk/source/lcdsamsungskins_PICONS_320x240/CONTROL/postinst

    r24446 r24724  
    11#!/bin/sh
    2 INSTDIR="$1"
    3 
    4 mv /tmp/plugins/lcdsamsung/skin.xml /var/usr/local/share/titan/plugins/lcdsamsung/skin.xml
    52
    63exit 0
  • ipk/source/lcdsamsungskins_PICONS_320x240/CONTROL/postrm

    r24446 r24724  
    11#!/bin/sh
    2 INSTDIR="$1"
    3 
    4 rm -rf /mnt/swapextensions/usr/local/share/titan/picons/alternate
    5 mv "/var/usr/local/share/titan/plugins/lcdsamsung/originalskin.xml" "/var/usr/local/share/titan/plugins/lcdsamsung/skin.xml"
    6 
    7 if [ -d $INSTDIR/usr/local/share/titan/picons/alternate_sich_samsung ]; then
    8   mv $INSTDIR/usr/local/share/titan/picons/alternate_sich_samsung $INSTDIR/usr/local/share/titan/picons/alternate
    9 fi
    102
    113exit 0
  • ipk/source/lcdsamsungskins_PICONS_320x240/CONTROL/preinst

    r24446 r24724  
    11#!/bin/sh
    22INSTDIR="$1"
     3NAME=lcdsamsung
    34
    4 if [ ! -d /var/usr/local/share/titan/plugins/lcdsamsung ]; then
    5   echo "ERROR .... lcdsamsung Picon not installed"
    6   exit 1
     5if [ ! -e "/var/usr/local/share/titan/plugins/$NAME" ] && [ ! -e "/var/swap/usr/local/share/titan/plugins/$NAME" ] && [ ! -e "/mnt/swapextensions/usr/local/share/titan/plugins/$NAME" ]; then
     6        echo "ERROR: Install Tools/$NAME"
     7        exit 1
    78fi
    89
    9 mv /var/usr/local/share/titan/plugins/lcdsamsung/skin.xml /var/usr/local/share/titan/plugins/lcdsamsung/originalskin.xml
    10 
    11 if [ -d $INSTDIR/usr/local/share/titan/picons/alternate ]; then
    12   mv $INSTDIR/usr/local/share/titan/picons/alternate $INSTDIR/usr/local/share/titan/picons/alternate_sich_samsung
    13 fi
    14 
    15 
    1610exit 0
Note: See TracChangeset for help on using the changeset viewer.