diff options
author | Martin Prochnow <nordlicht@martins-kabuff.de> | 2006-03-31 19:31:30 +0200 |
---|---|---|
committer | Andreas Mair <andreas@vdr-developer.org> | 2006-03-31 19:31:30 +0200 |
commit | c849f2898257df19fddb97ac99c392c410f120d1 (patch) | |
tree | 86ed2e867a184513f35ee069caa4b1dd70285120 /scripts | |
parent | 0ff08f0bfb1460e0d0035081956a75b92aaa8359 (diff) | |
download | vdr-plugin-extrecmenu-c849f2898257df19fddb97ac99c392c410f120d1.tar.gz vdr-plugin-extrecmenu-c849f2898257df19fddb97ac99c392c410f120d1.tar.bz2 |
Version 0.8av0.8a
- fixed problem when open the plugin while replaying a archive dvd; thanks to Monroe from vdr-portal.de for reporting
- new version of 'dvdarchive.sh'; thanks to vejoun from vdr-portal.de
- updated finnish translation; thanks to Rolf Ahrenberg
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dvdarchive.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dvdarchive.sh b/scripts/dvdarchive.sh index dfdee0a..3dc0c71 100755 --- a/scripts/dvdarchive.sh +++ b/scripts/dvdarchive.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Version 1.1 2006-03-27 +# Version 1.2 2006-03-30 # # Exitcodes: # @@ -24,7 +24,7 @@ MOUNTPOINT="/media/cdrom" # no trailing '/'! #</Configuration> -DEVICE="$(grep "$MOUNTPOINT" /etc/fstab | head -n1 | awk '{ print $1; }')" # dvd-device, used by isodetect if exists +DEVICE="$(awk '( $1 !~ /^#/ ) && ( $2 == "'$MOUNTPOINT'" ) { print $1; exit; }' /etc/fstab)" # dvd-device, used by isodetect if exists REC="$2" NAME="$3" |