1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
Description: Fix hardcoded cdrom device.
Origin: https://github.com/adhawkins/flactag/commit/cd14b51a1a49755e743d6cb6f44464e45d21de51.patch
Bug-Debian: https://bugs.debian.org/736458
Forwarded: not-needed
Applied-Upstream: see origin.
Last-Update: 2020-05-04
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/checkflac
+++ b/checkflac
@@ -1,6 +1,10 @@
#!/bin/sh
+set -e
-CDROM=/dev/hdc
+if [ -z "$CDROM" ];
+then
+ CDROM=/dev/cdrom
+fi
if [ $# = "1" ]
then
|