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

fix plugin permtime

Location:
ipk/source.sh4/network_dlna/CONTROL
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ipk/source.sh4/network_dlna/CONTROL/postinst

    r44780 r45683  
    66echo PLUGINDIR $PLUGINDIR
    77
    8 if [ -e /etc/.oebuild ];then
     8if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
    99        opkg update
    1010        opkg install minidlna --dest $1
     
    1616echo "Set ServerName ($Name) to minidlna.conf"
    1717
    18 if [ ! -e "$INSTDIR/etc/minidlna.conf" ]; then
     18if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];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

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

    r23918 r45683  
    44echo prerm INSTDIR $INSTDIR
    55
    6 if [ ! -e "$INSTDIR/etc/minidlna.conf.minidlna" ]; then
     6if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
    77        echo "remove tpk minidlna.conf"
    88        rm -f "$INSTDIR/etc/minidlna.conf"
Note: See TracChangeset for help on using the changeset viewer.