Changeset 43291


Ignore:
Timestamp:
Jan 23, 2019, 11:07:08 PM (4 months ago)
Author:
obi
Message:

fix merge

Location:
ipk/source.arm
Files:
3 edited

Legend:

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

    r43290 r43291  
    11#!/bin/sh
    2 INSTDIR="$1" 
    3 PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/multiimage"
    4 
    5 if [ ! -f /usr/bin/python ]; then
    6         tar xzf /tmp/python_min.tar.gz.txt -C /
    7 else
    8         tar xzf /tmp/python_min.tar.gz.txt -C /
    9         #tar xzf /tmp/python-lzo.tar.gz -C /
    10         #tar xzf /tmp/python-setup.tar.gz -C /
    11 fi
    12 
    13 mkdir $PLUGINDIR/ubireader
    14 tar xzf /tmp/ubi_reader-master.tar.gz.txt -C $PLUGINDIR/ubireader
    15 
    16 cd $PLUGINDIR/ubireader/ubi_reader-master
    17 python setup.py install
    18 
    19 rm /tmp/python_min.tar.gz.txt  > /dev/null 2>&1
    20 rm /tmp/ubi_reader-master.tar.gz.txt  > /dev/null 2>&1
    212
    223if [ -e /etc/.oebuild ];then
  • ipk/source.arm/tools_sispmctl/CONTROL/postinst

    r43290 r43291  
    66        mv "$PLUGINDIR/sispmctl.conf" "$PLUGINDIR/sispmctl.conf_org"
    77        cp /tmp/sispmctl.conf "$PLUGINDIR/sispmctl.conf"
     8        rm /tmp/sispmctl.conf >/dev/null 2>&1
     9                 
     10        mv "$PLUGINDIR/g1_script.sh" "$PLUGINDIR/bin/g1_script.sh_org" >/dev/null 2>&1
     11        mv "$PLUGINDIR/g2_script.sh" "$PLUGINDIR/bin/g2_script.sh_org" >/dev/null 2>&1
     12        mv "$PLUGINDIR/g3_script.sh" "$PLUGINDIR/bin/g3_script.sh_org" >/dev/null 2>&1
     13        mv "$PLUGINDIR/g4_script.sh" "$PLUGINDIR/bin/g4_script.sh_org" >/dev/null 2>&1
     14                 
     15        cp /tmp/g1_script.sh "$PLUGINDIR/bin/g1_script.sh" >/dev/null 2>&1
     16        cp /tmp/g2_script.sh "$PLUGINDIR/bin/g2_script.sh" >/dev/null 2>&1
     17        cp /tmp/g3_script.sh "$PLUGINDIR/bin/g3_script.sh" >/dev/null 2>&1
     18        cp /tmp/g4_script.sh "$PLUGINDIR/bin/g4_script.sh" >/dev/null 2>&1
     19
    820        rm /tmp/isispmctl.conf
    921fi
    1022
    11 cp "$PLUGINDIR/lib/libusb-0.1.so.4" "/usr/lib/libusb-0.1.so.4"
     23if [ ! -d /mnt/plugin ]; then
     24        mkdir -p /mnt/plugin
     25fi
     26if [ ! -f /mnt/plugin/ps01sispm ]; then
     27        cp "$PLUGINDIR/ps01sispm_dummy" /mnt/plugin/ps01sispm
     28        cp "$PLUGINDIR/pe01sispm_dummy" /mnt/plugin/pe01sispm
     29fi
     30
     31#cp "$PLUGINDIR/lib/libusb-0.1.so.4" "/usr/lib/libusb-0.1.so.4"
    1232
    1333if [ -e /etc/.oebuild ];then
  • ipk/source.arm/tools_sispmctl/CONTROL/postrm

    r43290 r43291  
    44
    55rm -r "$PLUGINDIR" >/dev/null 2>&1
     6rm /mnt/plugin/ps01sispm
     7rm /mnt/plugin/pe01sispm
    68
    79if [ -e /etc/.oebuild ];then
Note: See TracChangeset for help on using the changeset viewer.