Changeset 46250 for ipk


Ignore:
Timestamp:
Oct 15, 2022, 5:26:32 PM (4 years ago)
Author:
obi
Message:

fix ipkg preinst prerm postrm scripts

Location:
ipk/source.sh4
Files:
38 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.sh4/browser_netsurf/CONTROL/postrm

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

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-games-catcatch --dest $1
    55fi
  • ipk/source.sh4/games_sudoku/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-games-sudoku --dest $1
    55fi
  • ipk/source.sh4/games_wins3/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-games-wins3 --dest $1
    55fi
  • ipk/source.sh4/infos_imdb/CONTROL/postrm

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

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

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

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

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

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

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

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

    r45685 r46250  
    55rm -rf "$PLUGINDIR" >/dev/null 2>&1
    66
    7 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     7if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    88        opkg remove minidlna --dest $1
    99fi
  • ipk/source.sh4/network_facebook/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-network-facebook --dest $1
    55fi
  • ipk/source.sh4/network_ipsec/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);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/postrm

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

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-network-networkbrowser --dest $1
    55fi
  • ipk/source.sh4/network_satipclient/CONTROL/postrm

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

    r45958 r46250  
    66rm -rf $INSTDIR/etc/xupnpd >/dev/null 2>&1
    77
    8 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     8if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    99        opkg remove titan-plugin-network-xupnpd --dest $1
    1010fi
  • ipk/source.sh4/players_tmc/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-player-tmc --dest $1
    55fi
  • ipk/source.sh4/playersnp_dvdplayer/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-player-dvdplayer --dest $1
    55fi
  • ipk/source.sh4/playersnp_hbbtv/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    2 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     2if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    33#       opkg remove titan-plugin-player-hbbtv --dest $1
    44        opkg remove webkit-hbbtv-plugin
  • ipk/source.sh4/tools_IP-Kamera/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-tools-instar --dest $1
    55else
  • ipk/source.sh4/tools_autotimer/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-tools-autotimer --dest $1
    55fi
  • ipk/source.sh4/tools_callmonitor/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-tools-callmonitor1 --dest $1
    55else
  • ipk/source.sh4/tools_filemanager/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-tools-filemanager --dest $1
    55fi
  • ipk/source.sh4/tools_keylock/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-tools-keylock --dest $1
    55fi
  • ipk/source.sh4/tools_kravencfg/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-tools-kravencfg --dest $1
    55fi
  • ipk/source.sh4/tools_lcdpearl1/CONTROL/postrm

    r45958 r46250  
    66rm -rf /var/etc/lcd4linux.conf
    77
    8 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     8if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    99        opkg remove titan-plugin-tools-lcdpearl1 --dest $1
    1010fi
  • ipk/source.sh4/tools_lcdsamsung/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-tools-lcdsamsung --dest $1
    55fi
  • ipk/source.sh4/tools_optimize/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-tools-optimize --dest $1
    55fi
  • ipk/source.sh4/tools_rgui/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-tools-rgui --dest $1
    55fi
  • ipk/source.sh4/tools_scriptexec/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-tools-scriptexec --dest $1
    55fi
  • ipk/source.sh4/tools_stopifnotused/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-tools-stopifnotused --dest $1
    55fi
  • ipk/source.sh4/tools_tsschnitt/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-tools-tsschnitt --dest $1
    55fi
  • ipk/source.sh4/tools_usbreset/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-tools-usbreset --dest $1
    55fi
  • ipk/source.sh4/tools_wlandisplay/CONTROL/postrm

    r45958 r46250  
    11#!/bin/sh
    22
    3 if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
     3if [ ! -e /etc/.opkg ] && ([ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ]);then
    44        opkg remove titan-plugin-tools-wlandisplay --dest $1
    55fi
  • ipk/source.sh4/tools_zapback/CONTROL/postrm

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