summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2022-06-09 14:45:27 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2022-06-09 14:46:53 +0200
commit8a5ab42bdd505b32f2e80cfd8353226f00261460 (patch)
tree367d19081dbbbefa4854642c26e5db7163e94f1a /perl-install
parentfaa9234f0daafde38105b2a9425b7e3e2be27f8f (diff)
downloaddrakx-8a5ab42bdd505b32f2e80cfd8353226f00261460.tar
drakx-8a5ab42bdd505b32f2e80cfd8353226f00261460.tar.gz
drakx-8a5ab42bdd505b32f2e80cfd8353226f00261460.tar.bz2
drakx-8a5ab42bdd505b32f2e80cfd8353226f00261460.tar.xz
drakx-8a5ab42bdd505b32f2e80cfd8353226f00261460.zip
Explain how to auto install pkgs if needed
See previous commit
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/lsnetdrake2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/standalone/lsnetdrake b/perl-install/standalone/lsnetdrake
index 12399d2c3..39d8d3337 100755
--- a/perl-install/standalone/lsnetdrake
+++ b/perl-install/standalone/lsnetdrake
@@ -5,6 +5,7 @@ use standalone;
use fs::remote::nfs;
use fs::remote::smb;
use MDK::Common::Func qw(if_);
+#use interactive; # if we'd want lsnetdrake to install missing pkgs
"@ARGV" =~ /-h/ and die "usage: lsnetdrake [-h] [--nfs] [--smb]\n";
@@ -15,6 +16,7 @@ $| = 1;
$ENV{PATH} = "/sbin:/usr/sbin:$ENV{PATH}";
foreach my $class (if_($nfs, fs::remote::nfs->new), if_($smb, fs::remote::smb->new)) {
+ #$class->check(interactive->vnew) if -t *STDIN && -t *STDOUT; # Only if tty. TO DO IN INTERACTIVE-vnew instead?t
foreach my $server (sort_names(eval { $class->find_servers })) {
foreach (sort_names(eval { $class->find_exports($server) })) {
print $class->to_fullstring($_), "\n";