Re: HELP: two smbfs packages
On Wed, Jan 14, 1998 at 06:06:08PM -0500, Ben Pfaff wrote:
> Package smbfs-2.0.2 works for kernels 2.0.x and before. To use smbfs
> with the 2.1.x and above kernels, the userland utilities in the Samba
> 1.9.18 and later must be used (smbmount and smbumount). So, I do not
> know how to provide both versions.
>
> Suggestion: Provide smbmount (for example), both versions, in the
> single smbfs (or samba, whatever) package, naming them smbmount-2.0.x
> and smbmount-2.1.x. Use alternatives to manage the `smbmount' symlink
or use a wrapper like this:
-- /usr/bin/smbmount --
#!/bin/sh
if [ `/sbin/kernelversion` = "2.1" ]; then
/usr/bin/smbmount-2.1 $@
else
/usr/bin/smbmount-2.0 $@
fi
-- /usr/bin/smbmount --
which use the right smbmount when running.
--
David Rocher, rocher@mail.dotcom.fr
Debian GNU/Linux, http://www.debian.org/
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: