3 # This program is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License
14 # along with this program. If not, see <https://www.gnu.org/licenses/>.
21 cd "$vardir/methods/floppy"
23 mountpoint="$vardir/methods/mnt"
29 First I need the disk(s) which contain the Packages file(s) for
30 the parts of the archive you wish to be able to install. If you
31 want to install packages from the non-free and contrib areas of
32 the FTP site you need a floppy with a Packages file for each of
33 those, in addition to the main Packages file for the main Debian
34 distribution. If you don'\''t then you just need one Packages file.'
49 if [ $success = 1 ]; then return; fi
50 if [ ! -f "$mountpoint/Packages" ]; then
51 echo "$mountpoint/Packages does not exist.";
54 if dpkg --admindir $vardir --merge-avail "$mountpoint/Packages"
58 You may incorporate another Packages file from another floppy if you wish.'
65 Insert a disk containing a Packages file, or type q to quit. '
68 [Qq] | [Qq][Uu][Ii][Tt] )
72 umount="$defaultfloppy"
73 if mount -rt "$defaultfstype" "$defaultfloppy" "$mountpoint"
79 umount "$defaultfloppy"
87 OK, continuing with installation.'