Changeset 45684 for ipk


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

fix last commit

Location:
ipk
Files:
94 edited

Legend:

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-optimize --dest $1
  • ipk/source.arm/tools_optimize/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-browser --dest $1
  • ipk/source.sh4/browser_netsurf/CONTROL/postrm

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg remove titan-plugin-browser --dest $1
    55        opkg remove titan-netsurf
  • ipk/source.sh4/games_catcatch/CONTROL/postinst

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-catcatch --dest $1
  • ipk/source.sh4/games_catcatch/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-sudoku --dest $1
  • ipk/source.sh4/games_sudoku/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-wins3 --dest $1
  • ipk/source.sh4/games_wins3/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-imdb --dest $1
  • ipk/source.sh4/infos_imdb/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-imdbapi --dest $1
  • ipk/source.sh4/infos_imdbapi/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-news --dest $1
  • ipk/source.sh4/infos_news/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-stock --dest $1
  • ipk/source.sh4/infos_stock/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-streaminfo --dest $1
  • ipk/source.sh4/infos_streaminfo/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-tmdb --dest $1
  • ipk/source.sh4/infos_tmdb/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-weather --dest $1
  • ipk/source.sh4/infos_weather/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-wm2018 --dest $1
  • ipk/source.sh4/infos_wm2018/CONTROL/postrm

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

    r45683 r45684  
    66echo PLUGINDIR $PLUGINDIR
    77
    8 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     8if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    99        opkg update
    1010        opkg install minidlna --dest $1
     
    1616echo "Set ServerName ($Name) to minidlna.conf"
    1717
    18 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     18if [ ! -e "$INSTDIR/etc/minidlna.conf" ]; then
    1919        echo "use tpk config file: minidlna.conf"
    2020        echo "rename $INSTDIR/etc/minidlna.conf.minidlna > $INSTDIR/etc/minidlna.conf"
  • ipk/source.sh4/network_dlna/CONTROL/postrm

    r45683 r45684  
    55rm -rf "$PLUGINDIR" >/dev/null 2>&1
    66
    7 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     7if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    88        opkg remove minidlna --dest $1
    99fi
  • ipk/source.sh4/network_dlna/CONTROL/prerm

    r45683 r45684  
    44echo prerm INSTDIR $INSTDIR
    55
    6 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     6if [ ! -e "$INSTDIR/etc/minidlna.conf.minidlna" ]; then
    77        echo "remove tpk minidlna.conf"
    88        rm -f "$INSTDIR/etc/minidlna.conf"
  • ipk/source.sh4/network_dropbear/CONTROL/postinst

    r45683 r45684  
    1414mkdir -p /mnt/dropbear
    1515
    16 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     16if [ ! -e /mnt/dropbear/dropbear_rsa_host_key ]; then
    1717        dropbearkey -t rsa -s 2048 -f /mnt/dropbear/dropbear_rsa_host_key
    1818fi
    1919
    2020grep dropbear /var/etc/inetd.conf > /dev/null
    21 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     21if [ $? = 1 ]; then
    2222        killall -9 inetd > /dev/null
    2323        echo "22 stream tcp nowait root /mnt/swapextensions/bin/dropbear dropbear -i -a -B -p 22" >> /var/etc/inetd.conf
  • ipk/source.sh4/network_dropbear/CONTROL/postrm

    r45683 r45684  
    1414
    1515grep dropbear /var/etc/inetd.conf > /dev/null
    16 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     16if [ $? = 0 ]; then
    1717        killall -9 inetd > /dev/null
    1818        sed -i '/dropbear/d' /var/etc/inetd.conf
  • ipk/source.sh4/network_facebook/CONTROL/postinst

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-facebook --dest $1
  • ipk/source.sh4/network_facebook/CONTROL/postrm

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

    r45683 r45684  
    33ARCH=$(cat /etc/.arch)
    44
    5 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     5if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    66        opkg update
    77        opkg install strongswan
    8         if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     8        if [ "$ARCH" == "sh4" ];then
    99                opkg install kernel-module-aes-generic
    1010                opkg install kernel-module-sha1-generic
  • ipk/source.sh4/network_ipsec/CONTROL/postrm

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        sed 's/ipsec=.*//g' -i /mnt/config/start-config
    55        opkg remove strongswan --force-removal-of-dependent-packages
  • ipk/source.sh4/network_minisatip/CONTROL/postinst

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install minisatip
  • ipk/source.sh4/network_minisatip/CONTROL/postrm

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        sed 's/minisatip=.*//g' -i /mnt/config/start-config
    55        opkg remove minisatip
  • ipk/source.sh4/network_networkbrowser/CONTROL/postinst

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-networkbrowser --dest $1
  • ipk/source.sh4/network_networkbrowser/CONTROL/postrm

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

    r45683 r45684  
    66export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/var/swap/lib:/mnt/swapextensions/lib:/var/lib
    77
    8 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     8if [ -f /mnt/config/start-config ]; then
    99        echo "enable samba autostart on /mnt/config/start-config"
    1010        sed s#"sambaserver=n"#"sambaserver=y"#g -i /mnt/config/start-config
     
    1212
    1313echo "if not exist, use restore smb.conf"
    14 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     14if [ ! -e /mnt/config/smb.conf ]; then
    1515        cp /etc/titan.restore/mnt/config/smb.conf /mnt/config/smb.conf
    1616fi
    1717
    1818echo "check if smbpasswd exists"
    19 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     19if [ ! -e $INSTDIR/etc/samba/private/smbpasswd ]; then
    2020        touch $INSTDIR/etc/samba/private/smbpasswd
    2121fi
    2222
    2323echo "check if secrets.tdb exists"
    24 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     24if [ ! -e $INSTDIR/etc/samba/private/secrets.tdb ]; then
    2525        touch $INSTDIR/etc/samba/private/secrets.tdb
    2626fi
  • ipk/source.sh4/network_samba/CONTROL/postrm

    r45683 r45684  
    22INSTDIR="$1"
    33
    4 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     4if [ "$INSTDIR" != "/var" ]; then
    55        rm -rf /var/bin/smbd > /dev/null 2>&1
    66        rm -rf /var/bin/nmbd > /dev/null 2>&1
     
    99rm /mnt/config/smb.conf
    1010
    11 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     11if [ -f /mnt/config/start-config ]; then
    1212        sed -i s#"sambaserver=y"#"sambaserver=n"#g /mnt/config/start-config
    1313fi
  • ipk/source.sh4/network_satipclient/CONTROL/postinst

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install satipclient
  • ipk/source.sh4/network_satipclient/CONTROL/postrm

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        sed 's/satipclient=.*//g' -i /mnt/config/start-config
    55        opkg remove satipclient
  • ipk/source.sh4/network_xupnpd/CONTROL/postinst

    r45683 r45684  
    77mkdir $INSTDIR/etc/xupnpd/config
    88
    9 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     9if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    1010        opkg update
    1111        opkg install titan-plugin-xupnpd --dest $1
  • ipk/source.sh4/network_xupnpd/CONTROL/postrm

    r45683 r45684  
    66rm -rf $INSTDIR/etc/xupnpd >/dev/null 2>&1
    77
    8 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     8if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    99        opkg remove titan-plugin-xupnpd --dest $1
    1010fi
  • ipk/source.sh4/networklib_e2webserv/CONTROL/postinst

    r45683 r45684  
    22INSTDIR="$1"
    33
    4 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     4if [ -f /mnt/config/usercmd.sh ]; then
    55        sed -i "/^exit/i$INSTDIR/bin/e2webserv -b -c $INSTDIR/etc/e2webserv.conf" /mnt/config/usercmd.sh
    66fi
    77
    8 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     8if [ ! -e $INSTDIR/etc/e2webserv.conf ]; then
    99        echo "use TPK config file"
    1010        mv $INSTDIR/etc/e2webserv.conf.e2 $INSTDIR/etc/e2webserv.conf
  • ipk/source.sh4/networklib_e2webserv/CONTROL/postrm

    r45683 r45684  
    44rm -f $INSTDIR/bin/e2webserv
    55
    6 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     6if [ -f /mnt/config/usercmd.sh ]; then
    77        sed -i '/e2webserv/d' /mnt/config/usercmd.sh
    88fi
  • ipk/source.sh4/networklib_e2webserv/CONTROL/prerm

    r45683 r45684  
    55killall -9 e2webserv > /dev/null 2>&1
    66
    7 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     7if [ ! -e "$INSTDIR/etc/e2webserv.conf.e2" ]; then
    88        echo "remove TPK config file"
    99        rm "$INSTDIR/etc/e2webserv.conf"
  • ipk/source.sh4/players_gmediarender/CONTROL/postinst

    r45683 r45684  
    55sed s#_path_#"$INSTDIR"#g -i "$PLUGINDIR/run"
    66
    7 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     7if [ "/var" != "$INSTDIR" ]; then
    88        rm -rf /var/usr/lib/gstreamer-0.10
    99        ln -s "$INSTDIR/lib/gstreamer-0.10" /var/usr/lib
  • ipk/source.sh4/players_gmediarender/CONTROL/postrm

    r45683 r45684  
    55rm -rf "$PLUGINDIR" >/dev/null 2>&1
    66
    7 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     7if [ "/var" != "$INSTDIR" ]; then
    88        rm -rf /var/usr/lib/gstreamer-0.10
    99fi
  • ipk/source.sh4/players_tmc/CONTROL/postinst

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-tmc --dest $1
  • ipk/source.sh4/players_tmc/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-dvdplayer --dest $1
  • ipk/source.sh4/playersnp_dvdplayer/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    2 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     2if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    33        opkg update
    44#       opkg install titan-plugin-hbbtv --dest $1
     
    1515        #model=`cat /etc/model`
    1616
    17         #if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
    18         #       if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     17        #if [ "$model" = "ufs910" ];then
     18        #       if [ -e /var/swapdir/swapfile ] && [ -e /tmp/.tmp60mb ];then
    1919        #               echo "umount /tmp (60mb)"
    2020        #               umount /tmp
  • ipk/source.sh4/playersnp_hbbtv/CONTROL/postrm

    r45683 r45684  
    11#!/bin/sh
    2 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     2if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    33#       opkg remove titan-plugin-hbbtv --dest $1
    44        opkg remove webkit-hbbtv-plugin
  • ipk/source.sh4/playersnp_hbbtv/CONTROL/preinst

    r45683 r45684  
    77#model=`cat /etc/model`
    88
    9 #if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
    10 #       if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     9#if [ "$model" = "ufs910" ];then
     10#       if [ -e /var/swapdir/swapfile ];then
    1111#               echo "mount /tmp (60mb)"
    1212#               mount -t tmpfs -o remount,size=60m,mode=1777 tmp /tmp
  • ipk/source.sh4/tools_IP-Kamera/CONTROL/postinst

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-instar --dest $1
     
    99PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/instar"
    1010
    11 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     11if [ -e /tmp/instar.conf ]; then
    1212        mv "$PLUGINDIR/instar.conf" "$PLUGINDIR/instar.conf_org"
    1313        cp /tmp/instar.conf "$PLUGINDIR/instar.conf"
  • ipk/source.sh4/tools_IP-Kamera/CONTROL/postrm

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

    r45683 r45684  
    33PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/instar"
    44
    5 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     5if [ -e "$PLUGINDIR/instar.conf" ]; then
    66        cp "$PLUGINDIR/instar.conf" /tmp/instar.conf
    77fi
  • ipk/source.sh4/tools_autotimer/CONTROL/postinst

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-autotimer --dest $1
  • ipk/source.sh4/tools_autotimer/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-callmonitor1 --dest $1
     
    99PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/callmonitor1"
    1010
    11 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     11if [ -e /tmp/callmon.conf ]; then
    1212        mv "$PLUGINDIR/callmon.conf" "$PLUGINDIR/callmon.conf_org"
    1313        cp /tmp/callmon.conf "$PLUGINDIR/callmon.conf"
  • ipk/source.sh4/tools_callmonitor/CONTROL/postrm

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

    r45683 r45684  
    33PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/callmonitor1"
    44
    5 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     5if [ -e "$PLUGINDIR/callmon.conf" ]; then
    66        cp "$PLUGINDIR/callmon.conf" /tmp/callmon.conf
    77fi
  • ipk/source.sh4/tools_filemanager/CONTROL/postinst

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-filemanager --dest $1
  • ipk/source.sh4/tools_filemanager/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-keylock --dest $1
  • ipk/source.sh4/tools_keylock/CONTROL/postrm

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

    r45683 r45684  
    55chmod 755 $INSTDIR/usr/local/share/titan/plugins/kravencfg/kravencfg.sh
    66
    7 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     7if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    88        opkg update
    99        opkg install titan-plugin-kravencfg --dest $1
  • ipk/source.sh4/tools_kravencfg/CONTROL/postrm

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

    r45683 r45684  
    33PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdpearl1"
    44
    5 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     5if [ `cat /proc/version | grep stm24 | wc -l` -eq 1 ]; then
    66        cd /tmp/stm24
    77else
     
    1414rm -rf stm23
    1515
    16 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     16if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    1717        opkg update
    1818        opkg install titan-plugin-lcdpearl1 --dest $1
  • ipk/source.sh4/tools_lcdpearl1/CONTROL/postrm

    r45683 r45684  
    66rm -rf /var/etc/lcd4linux.conf
    77
    8 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     8if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    99        opkg remove titan-plugin-lcdpearl1 --dest $1
    1010fi
  • ipk/source.sh4/tools_lcdsamsung/CONTROL/postinst

    r45683 r45684  
    33PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdsamsung"
    44
    5 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     5if [ -e /tmp/skin.xml_sam ]; 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 ] || [ -e /etc/.ovbuild ];then
     11if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    1212        opkg update
    1313        opkg install titan-plugin-lcdsamsung --dest $1
  • ipk/source.sh4/tools_lcdsamsung/CONTROL/postrm

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

    r45683 r45684  
    33PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/lcdsamsung"
    44
    5 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     5if [ -e "$PLUGINDIR/skin.xml" ]; then
    66        cp "$PLUGINDIR/skin.xml" /tmp/skin.xml_sam
    77fi
  • ipk/source.sh4/tools_optimize/CONTROL/postinst

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-optimize --dest $1
  • ipk/source.sh4/tools_optimize/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-rgui --dest $1
  • ipk/source.sh4/tools_rgui/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-scriptexec --dest $1
  • ipk/source.sh4/tools_scriptexec/CONTROL/postrm

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

    r45683 r45684  
    33Architecture: sh4
    44Section: tools
    5 Description: Power off if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     5Description: Power off if box not used
    66Titanname: Stop if not used
    77Showname: Stop if not used
  • ipk/source.sh4/tools_stopifnotused/CONTROL/postinst

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-stopifnotused --dest $1
  • ipk/source.sh4/tools_stopifnotused/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-tsschnitt --dest $1
  • ipk/source.sh4/tools_tsschnitt/CONTROL/postrm

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

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-usbreset --dest $1
  • ipk/source.sh4/tools_usbreset/CONTROL/postrm

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

    r45683 r45684  
    33PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/wlandisplay"
    44
    5 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     5if [ -e /tmp/skin.xml_sam ]; 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 ] || [ -e /etc/.ovbuild ];then
     11if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    1212        opkg update
    1313        opkg install titan-plugin-wlandisplay --dest $1
  • ipk/source.sh4/tools_wlandisplay/CONTROL/postrm

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

    r45683 r45684  
    33PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/wlandisplay"
    44
    5 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     5if [ -e "$PLUGINDIR/skin.xml" ]; then
    66        cp "$PLUGINDIR/skin.xml" /tmp/skin.xml_sam
    77fi
  • ipk/source.sh4/tools_zapback/CONTROL/postinst

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg update
    55        opkg install titan-plugin-zapback --dest $1
  • ipk/source.sh4/tools_zapback/CONTROL/postrm

    r45683 r45684  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then ];then
    44        opkg remove titan-plugin-zapback --dest $1
    55fi
Note: See TracChangeset for help on using the changeset viewer.