X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F41apt_cdrom;h=00606d5006f55ec02c8316db0ba75046c6c8a6ce;hb=refs%2Ftags%2Fdebian%2F1.157.3-1;hp=63da28467ccf1c4807a1011e201ab34bbf643b0c;hpb=3e16604f53f0181f19972f4bf0507245c1ba4c7f;p=live-boot-grml.git diff --git a/scripts/live-bottom/41apt_cdrom b/scripts/live-bottom/41apt_cdrom index 63da284..00606d5 100755 --- a/scripts/live-bottom/41apt_cdrom +++ b/scripts/live-bottom/41apt_cdrom @@ -27,10 +27,13 @@ fi . /scripts/live-functions -log_begin_msg "Adding APT-CDROM source..." +log_begin_msg "Adding APT-CDROM source" # live-initramfs script -chroot /root apt-cdrom -m add +if [ -d /root/cdrom ] +then + chroot /root apt-cdrom -m add +fi log_end_msg