author | llornkcor <llornkcor> | 2002-07-20 22:17:04 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-20 22:17:04 (UTC) |
commit | c806157a8390ff6d2eb9be9909cc4f0458b91ba8 (patch) (side-by-side diff) | |
tree | b66813baee13248ebc17ea459a3a7a58dce8c686 /core | |
parent | 4d2de7638c9b8797b71f378a802c83d53842f03e (diff) | |
download | opie-c806157a8390ff6d2eb9be9909cc4f0458b91ba8.zip opie-c806157a8390ff6d2eb9be9909cc4f0458b91ba8.tar.gz opie-c806157a8390ff6d2eb9be9909cc4f0458b91ba8.tar.bz2 |
sorry no need for these
-rwxr-xr-x | core/multimedia/opieplayer/modplug/opie-modplugin.postinst | 24 | ||||
-rwxr-xr-x | core/multimedia/opieplayer/modplug/opie-modplugin.postrm | 26 |
2 files changed, 0 insertions, 50 deletions
diff --git a/core/multimedia/opieplayer/modplug/opie-modplugin.postinst b/core/multimedia/opieplayer/modplug/opie-modplugin.postinst deleted file mode 100755 index c6ba49b..0000000 --- a/core/multimedia/opieplayer/modplug/opie-modplugin.postinst +++ b/dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -OPIEDIR=/opt/QtPalmtop -MIMEFILE=$OPIEDIR/etc/mime.types -MEDIAPLAYER=$OPIEDIR/apps/Applications/opieplayer.desktop -MIMETYPE="audio/x-mod" -MIMELINE="$MIMETYPE 669 amf apun dsm far gdm imf it med mod mtm nst s3m stm stx ult uni xm" - -grep -q "$MIMELINE" $MIMEFILE -if [ $? != 0 ]; then - echo "appending mod/s3m/etc to $MIMEFILE" - - echo "$MIMELINE" >> $MIMEFILE -fi - -grep -q "$MIMETYPE" $MEDIAPLAYER -if [ $? != 0 ]; then - echo "appending $MIMETYPE to $MEDIAPLAYER" - - tmpfile=/tmp/qpe-modplugin-$$.tmp - cat $MEDIAPLAYER | sed -e "s,^MimeType=\(.*\)\$,MimeType=\\1;$MIMETYPE," > $tmpfile - mv $tmpfile $MEDIAPLAYER -fi - diff --git a/core/multimedia/opieplayer/modplug/opie-modplugin.postrm b/core/multimedia/opieplayer/modplug/opie-modplugin.postrm deleted file mode 100755 index c043682..0000000 --- a/core/multimedia/opieplayer/modplug/opie-modplugin.postrm +++ b/dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -QPEDIR=/opt/QtPalmtop -MIMEFILE=$OPIEDIR/etc/mime.types -MEDIAPLAYER=$OPIEDIR/apps/Applications/opieplayer.desktop -MIMETYPE="audio/x-mod" -MIMELINE="$MIMETYPE 669 amf apun dsm far gdm imf it med mod mtm nst s3m stm stx ult uni xm" - -tmpfile=/tmp/qpe-modplugin$$.tmp - -grep -q "$MIMELINE" $MIMEFILE -if [ $? == 0 ]; then - echo "removing mod/s3m/etc from $MIMEFILE" - - grep -v "$MIMELINE" $MIMEFILE > $tmpfile - mv $tmpfile $MIMEFILE -fi - -grep -q "$MIMETYPE" $MEDIAPLAYER -if [ $? == 0 ]; then - echo "removing $MIMETYPE from $MEDIAPLAYER" - - cat $MEDIAPLAYER | sed -e "s,^MimeType=\(.*\);$MIMETYPE\(\.*\)\$,MimeType=\\1\\2," > $tmpfile - mv $tmpfile $MEDIAPLAYER -fi - |