# HG changeset patch
# User Pascal Bellard
+$(gettext "A bootable DVD image of all available packages for \ +the $version version is generated every day. It also contains a copy of \ +the website and can be used without an internet connection. This image can be \ +installed on a DVD or an USB key.") +
+" + mount -t iso9660 -o loop,ro $dev /mnt/packages && + /mnt/packages/install.sh && + echo "$dev is installed on /mnt/packages" + echo "" + fi + if [ "$(GET action)" == "dvdusbkey" ]; then + mkdir -p /mnt/packages 2> /dev/null + for tag in "LABEL=\"packages-$version\" TYPE=\"iso9660\"" \ + "LABEL=\"sources-$version\" TYPE=\"iso9660\"" ; do + dev=$(blkid | grep "$tag" | cut -d: -f1) + [ -n "$dev" ] || continue + echo "
" + mount -t iso9660 -o ro $dev /mnt/packages && + /mnt/packages/install.sh && + echo "$dev is installed on /mnt/packages" + echo "" + break + done + fi ;; *) #