start_new_disc: correct disk/cd-type for all types
Thanks to Wolfgang Schweer for the patch. See/Closes: #846006 Signed-off-by: Holger Levsen <holger@layer-acht.org>
This commit is contained in:
parent
93f26da4d9
commit
15b482d49e
|
@ -199,7 +199,25 @@ if [ $DISKNUM = 1 ] ; then
|
|||
fi
|
||||
fi
|
||||
else
|
||||
echo "not_complete" > $CDDIR/.disk/cd_type
|
||||
if [ $DISKTYPE = DVD ] || [ $DISKTYPE = DLDVD ]; then
|
||||
if [ "$MAXCDS"x = "1"x ]; then
|
||||
echo "dvd/single/not_complete" > $CDDIR/.disk/cd_type
|
||||
else
|
||||
echo "dvd/not_complete" > $CDDIR/.disk/cd_type
|
||||
fi
|
||||
elif [ $DISKTYPE = BD ] || [ $DISKTYPE = DLBD ]; then
|
||||
if [ "$MAXCDS"x = "1"x ]; then
|
||||
echo "bluray/single/not_complete" > $CDDIR/.disk/cd_type
|
||||
else
|
||||
echo "bluray/not_complete" > $CDDIR/.disk/cd_type
|
||||
fi
|
||||
else
|
||||
if [ "$MAXCDS"x = "1"x ]; then
|
||||
echo "cd/single/not_complete" > $CDDIR/.disk/cd_type
|
||||
else
|
||||
echo "cd/not_complete" > $CDDIR/.disk/cd_type
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ $NUM_ARCHES -gt 1 ]; then
|
||||
|
|
Loading…
Reference in New Issue