Removed bash specific stuff.
authorMatthias Schwarzott <zzam@gentoo.org>
Tue, 17 Apr 2007 13:02:41 +0000 (13:02 +0000)
committerMatthias Schwarzott <zzam@gentoo.org>
Tue, 17 Apr 2007 13:02:41 +0000 (13:02 +0000)
Package-Manager: portage-2.1.2.4

media-video/noad/ChangeLog
media-video/noad/Manifest
media-video/noad/files/0.6.0-r7/noad-reccmd
media-video/noad/files/0.6.0-r7/record-50-noad.sh

index baedae64c4cc6e91cf96f351c09f3c2c8f2c8a0d..92ae49181b45bb4c197ce186c73c22043b0bf2c8 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for media-video/noad
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v 1.18 2007/02/07 10:55:31 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/noad/ChangeLog,v 1.19 2007/04/17 13:02:41 zzam Exp $
+
+  17 Apr 2007; Matthias Schwarzott <zzam@gentoo.org>
+  files/0.6.0-r7/noad-reccmd, files/0.6.0-r7/record-50-noad.sh:
+  Removed bash specific stuff.
 
   07 Feb 2007; Matthias Schwarzott <zzam@gentoo.org>
   -files/0.6.0-r3/confd_vdraddon.noad, -files/0.6.0-r3/noad-reccmd,
index 833eae04d5e4212b2918711124ffa53fe0f8b0c9..a649f04391a4e653a9c12d6c9eb760fe0b31f330 100644 (file)
@@ -5,18 +5,18 @@ AUX 0.6.0-r7/confd_vdraddon.noad 1443 RMD160 aa1dd8349139cb1aebfb06a759e57370ca6
 MD5 77aaa5a9c3c46b17fcdc43d34f65b073 files/0.6.0-r7/confd_vdraddon.noad 1443
 RMD160 aa1dd8349139cb1aebfb06a759e57370ca6bf1e8 files/0.6.0-r7/confd_vdraddon.noad 1443
 SHA256 6a1728d5b27f7964d0032f1f522f7057d8a5ebd8d6b542ad85fb4fc924b2308d files/0.6.0-r7/confd_vdraddon.noad 1443
-AUX 0.6.0-r7/noad-reccmd 152 RMD160 b30fdf88b2ed0547f14a9ba163fba0a05c368ff2 SHA1 c2e493a3c5fbfeb385e7986ff68a47909c42b9a9 SHA256 4d25751987bb50677eb3909d23a3c820bbd8aeaef4aac383baff855082dab7c0
-MD5 6ed00f1a29658d3d9525a7fc5edff6f6 files/0.6.0-r7/noad-reccmd 152
-RMD160 b30fdf88b2ed0547f14a9ba163fba0a05c368ff2 files/0.6.0-r7/noad-reccmd 152
-SHA256 4d25751987bb50677eb3909d23a3c820bbd8aeaef4aac383baff855082dab7c0 files/0.6.0-r7/noad-reccmd 152
+AUX 0.6.0-r7/noad-reccmd 145 RMD160 928c85fbd77afa5239ae3c7ef3923e2cfd0f61af SHA1 0ff3d16a7178b7fd47f849a8adcc358584d839e6 SHA256 f9d3c963f1c745cd671925c1a48c5e4785cfc913c416dc0fd5963ff625e4a653
+MD5 53e6d2254577db2cd8feadbec83bf1a2 files/0.6.0-r7/noad-reccmd 145
+RMD160 928c85fbd77afa5239ae3c7ef3923e2cfd0f61af files/0.6.0-r7/noad-reccmd 145
+SHA256 f9d3c963f1c745cd671925c1a48c5e4785cfc913c416dc0fd5963ff625e4a653 files/0.6.0-r7/noad-reccmd 145
 AUX 0.6.0-r7/reccmds.noad.conf 61 RMD160 c62bdb45da8ae9aabfbd7a688f4600a5af04397f SHA1 d5fe02b78a5abd932fe0d6a5769bc8aa2e3ca54c SHA256 41dbc62f88429710b92f6d7cc45c49a967ae1376fc01b5b485b51f7e077ed20d
 MD5 4524974857d07e15856410a1001a2817 files/0.6.0-r7/reccmds.noad.conf 61
 RMD160 c62bdb45da8ae9aabfbd7a688f4600a5af04397f files/0.6.0-r7/reccmds.noad.conf 61
 SHA256 41dbc62f88429710b92f6d7cc45c49a967ae1376fc01b5b485b51f7e077ed20d files/0.6.0-r7/reccmds.noad.conf 61
-AUX 0.6.0-r7/record-50-noad.sh 1576 RMD160 9410f948702b0004a05ddb190d3cdde98ca43d10 SHA1 47f7b303acb7c5ef7c671cc48f9d9567ec4342b4 SHA256 795109f02b102bb35504f3a413718e33f3a145c8d8808f26e2a37216807c0196
-MD5 7e7971e09ac67c380542d40918f323b7 files/0.6.0-r7/record-50-noad.sh 1576
-RMD160 9410f948702b0004a05ddb190d3cdde98ca43d10 files/0.6.0-r7/record-50-noad.sh 1576
-SHA256 795109f02b102bb35504f3a413718e33f3a145c8d8808f26e2a37216807c0196 files/0.6.0-r7/record-50-noad.sh 1576
+AUX 0.6.0-r7/record-50-noad.sh 1569 RMD160 366743386052ff32b47c7b685c80e4c27a208de3 SHA1 ac85ef1e7ea7975809d9e3fcc07fe8932a93ad56 SHA256 7891cb9436dd435e65d52aee9edc9f7a910ba95e8c8b2677e8a041bc3cfb73c3
+MD5 04f116b7b24119daca0b63d9548e4131 files/0.6.0-r7/record-50-noad.sh 1569
+RMD160 366743386052ff32b47c7b685c80e4c27a208de3 files/0.6.0-r7/record-50-noad.sh 1569
+SHA256 7891cb9436dd435e65d52aee9edc9f7a910ba95e8c8b2677e8a041bc3cfb73c3 files/0.6.0-r7/record-50-noad.sh 1569
 AUX noad-0.6.0-as-needed.diff 978 RMD160 d6c74670793b76f5cc9f3ea740b001a9034c5b2a SHA1 83885096cfe13c28912fe69afd9d708f9e22caf4 SHA256 a4f8cbdeeba303ab659bafc75f5d622b1ceec6945d3c35e4f0c559d3504e8ed9
 MD5 b2af6d077e29ad03e2d5ce1c8b36ec04 files/noad-0.6.0-as-needed.diff 978
 RMD160 d6c74670793b76f5cc9f3ea740b001a9034c5b2a files/noad-0.6.0-as-needed.diff 978
@@ -46,10 +46,10 @@ EBUILD noad-0.6.0-r7.ebuild 2095 RMD160 a044fb1347bd27edac9d9f0a7ca5506665e28a1d
 MD5 353a2af7fadea66fac002433d1ca3379 noad-0.6.0-r7.ebuild 2095
 RMD160 a044fb1347bd27edac9d9f0a7ca5506665e28a1d noad-0.6.0-r7.ebuild 2095
 SHA256 0824f8c5af717aafb625960a8f5984814474f428b6b307a076239bbb9a862084 noad-0.6.0-r7.ebuild 2095
-MISC ChangeLog 4358 RMD160 692be561371ec4176b29bc52cbfea63fa42887da SHA1 d51f40aaeada532936abe7ec88014f508b05c475 SHA256 cb7bf137af9f587b8bb420c421b58f0189e8e303a7bb0876abec10a0c64a0209
-MD5 2767b754f6263e91f00e9466c1b9239e ChangeLog 4358
-RMD160 692be561371ec4176b29bc52cbfea63fa42887da ChangeLog 4358
-SHA256 cb7bf137af9f587b8bb420c421b58f0189e8e303a7bb0876abec10a0c64a0209 ChangeLog 4358
+MISC ChangeLog 4507 RMD160 cd0ea504bed2d589d385dc1128ce493c9bd51286 SHA1 99d22a3966f77765788b5fab4ba7cf1254d1575b SHA256 85bd209403e769e9aa761851affcf021dd3a06e377477cacb82e48ce2ede3c90
+MD5 6ea6c5f49cf141b25514e15697df2cf7 ChangeLog 4507
+RMD160 cd0ea504bed2d589d385dc1128ce493c9bd51286 ChangeLog 4507
+SHA256 85bd209403e769e9aa761851affcf021dd3a06e377477cacb82e48ce2ede3c90 ChangeLog 4507
 MISC metadata.xml 345 RMD160 40fa5fcd3946fb26c10efadbe084eb5f56607153 SHA1 01fde850e9581b6a2ccdb95b24d90a1a0511417f SHA256 a6ecd52a0597c34de4d3aa2dd428d3fcbc760e35ef9daa31d6c2d911d55bead4
 MD5 0dac6cdf92af4c49732fb6ac660b2132 metadata.xml 345
 RMD160 40fa5fcd3946fb26c10efadbe084eb5f56607153 metadata.xml 345
@@ -58,9 +58,9 @@ MD5 d481d5871b1b6a8779050d5a7baeb51e files/digest-noad-0.6.0-r7 235
 RMD160 e1b3720b311c9cafd641d84299b3af913c8d1984 files/digest-noad-0.6.0-r7 235
 SHA256 57903a89cf74860cf7d8e58b307d50def06a591c47a6b947506fe1fef60791c7 files/digest-noad-0.6.0-r7 235
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
+Version: GnuPG v2.0.3 (GNU/Linux)
 
-iD8DBQFFybAqt2vP6XvVdOcRAgJLAJ9fHjUB/ySnCFyteyQQcjLVobDdQwCfZElO
-RHA/cXoeUUsKFf7/pWZQHuM=
-=AAom
+iD8DBQFGJMV2t2vP6XvVdOcRAj/ZAKCrDFWFnsRWgmBlNt+8b9TZ1PuvYgCcDjB2
+ToSZ8HWuItC2ppjXKcpr5E8=
+=IjFa
 -----END PGP SIGNATURE-----
index 069a292f25cfefec54305e38d3437fa4ed74dddc..3979baa574f90ae09e87672f8c15cdddee497819 100644 (file)
@@ -1,7 +1,7 @@
-#!/bin/bash
+#!/bin/sh
 
 VDR_RECORD_STATE=reccmd
 VDR_RECORD_NAME="${1}"
 
-source /usr/share/vdr/record/record-50-noad.sh "${VDR_RECORD_STATE}" "${VDR_RECORD_NAME}"
+. /usr/share/vdr/record/record-50-noad.sh "${VDR_RECORD_STATE}" "${VDR_RECORD_NAME}"
 
index 51cd0b68f0daddffb240aaa4f32b2bb854dd8d3e..7ac4e2bff5ff9d4d3702858915601006dc62da3a 100644 (file)
@@ -1,4 +1,4 @@
-# $Header: /var/cvsroot/gentoo-x86/media-video/noad/files/0.6.0-r7/record-50-noad.sh,v 1.2 2006/12/28 21:00:47 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/noad/files/0.6.0-r7/record-50-noad.sh,v 1.3 2007/04/17 13:02:41 zzam Exp $
 #
 # Joerg Bornkessel <hd_brummy@gentoo.org>
 # Mathias Schwarzott <zzam@gentoo.org>
@@ -13,27 +13,27 @@ CMD="/usr/bin/noad"
 
 FORCE_OFFLINE_SCAN=no
 
-if [[ ${VDR_RECORD_STATE} == reccmd ]]; then
+if [ "${VDR_RECORD_STATE}" = "reccmd" ]; then
        # script started from reccmd
        FORCE_OFFLINE_SCAN=yes
        VDR_RECORD_STATE=after
 fi
 
 
-if [[ ${FORCE_OFFLINE_SCAN} != yes ]]; then
+if [ "${FORCE_OFFLINE_SCAN}" != "yes" ]; then
        # allow it to abort on certain conditions
 
        # automatic noad scan disabled
-       [[ ${VDR_USE_NOAD} == "yes" ]] || return
+       [ "${VDR_USE_NOAD}" = "yes" ] || return
 
        # ptsmarks existing
-       if [[ ${NOAD_ONLY_SCAN_IF_NO_PTSMARKS} == yes ]]; then
-               [[ -f ${VDR_RECORD_NAME}/ptsmarks.vdr ]] && return
+       if [ "${NOAD_ONLY_SCAN_IF_NO_PTSMARKS}" = "yes" ]; then
+               [ -f "${VDR_RECORD_NAME}/ptsmarks.vdr" ] && return
        fi
 
        # marks existing
-       if [[ ${NOAD_ONLY_SCAN_IF_NO_MARKS} == yes ]]; then
-               [[ -f ${VDR_RECORD_NAME}/marks.vdr ]] && return
+       if [ "${NOAD_ONLY_SCAN_IF_NO_MARKS}" = "yes" ]; then
+               [ -f "${VDR_RECORD_NAME}/marks.vdr" ] && return
        fi
 
        # Add Online-scanning parameter
@@ -46,18 +46,18 @@ if [[ ${FORCE_OFFLINE_SCAN} != yes ]]; then
                        ;;
                no)
                        # abort stage "before" here
-                       [[ ${VDR_RECORD_STATE} == "before" ]] && return
+                       [ "${VDR_RECORD_STATE}" = "before" ] && return
                        ;;
        esac
 fi
 
-[[ "${NOAD_AC3}" == "yes" ]] && CMD="${CMD} -a"
-[[ "${NOAD_JUMP}" == "yes" ]] && CMD="${CMD} -j"
-[[ "${NOAD_OVERLAP}" == "yes" ]] && CMD="${CMD} -o"
-[[ "${NOAD_MESSAGES}" == "yes" ]] && CMD="${CMD} -O"
+[ "${NOAD_AC3}" = "yes" ] && CMD="${CMD} -a"
+[ "${NOAD_JUMP}" = "yes" ] && CMD="${CMD} -j"
+[ "${NOAD_OVERLAP}" = "yes" ] && CMD="${CMD} -o"
+[ "${NOAD_MESSAGES}" = "yes" ] && CMD="${CMD} -O"
 
 : ${NOAD_NICE_LEVEL:=18}
-if [[ ${NOAD_NICE_LEVEL} != no ]]; then
+if [ "${NOAD_NICE_LEVEL}" != "no" ]; then
        NOAD_NICE_LEVEL=$((NOAD_NICE_LEVEL+0))
        CMD="nice -n ${NOAD_NICE_LEVEL} ${CMD}"
 fi