Changeset 23918


Ignore:
Timestamp:
09/27/13 13:51:31 (9 years ago)
Author:
obi
Message:

[tpk] fix minidlna

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

Legend:

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

    r23668 r23918  
    33PLUGINDIR="$INSTDIR/usr/local/share/titan/plugins/dlna"
    44
     5echo INSTDIR $INSTDIR
     6echo PLUGINDIR $PLUGINDIR
     7
    58if [ "/var" != "$INSTDIR" ]; then
    69        rm -rf /var/usr/local/share/titan/plugins/dlna >/dev/null 2>&1
    710        ln -sfn "$PLUGINDIR" /var/usr/local/share/titan/plugins/dlna
    8        
    9         ln -sfn "$INSTDIR/lib/libavcodec.so.53.8.0" /var/usr/lib/libavcodec.so.53
    10         ln -sfn "$INSTDIR/lib/libavformat.so.53.5.0" /var/usr/lib/libavformat.so.53
    11         ln -sfn "$INSTDIR/lib/libavutil.so.51.9.1" /var/usr/lib/libavutil.so.51
    12         ln -sfn "$INSTDIR/lib/libexif.so.12.3.2" /var/usr/lib/libexif.so.12
    13         ln -sfn "$INSTDIR/lib/libvorbis.so.0.4.5" /var/usr/lib/libvorbis.so.0
    1411fi
    1512
  • ipk/source.sh4/network_dlna/CONTROL/postrm

    r23668 r23918  
    77if [ "/var" != "$INSTDIR" ]; then
    88        rm -rf /var/usr/local/share/titan/plugins/dlna
    9        
    10         rm -rf /var/usr/lib/libavcodec.so.53*
    11         rm -rf /var/usr/lib/libavformat.so.53*
    12         rm -rf /var/usr/lib/libavutil.so.51*
    13         rm -rf /var/usr/lib/libexif.so.12*
    14         rm -rf /var/usr/lib/libvorbis.so.0*
    159fi
    1610
  • ipk/source.sh4/network_dlna/CONTROL/prerm

    r23625 r23918  
    22INSTDIR="$1"
    33
     4echo prerm INSTDIR $INSTDIR
     5
    46if [ ! -e "$INSTDIR/etc/minidlna.conf.minidlna" ]; then
    57        echo "remove tpk minidlna.conf"
    6         rm "$INSTDIR/etc/minidlna.conf"
     8        rm -f "$INSTDIR/etc/minidlna.conf"
    79fi
    810
Note: See TracChangeset for help on using the changeset viewer.