|
@ -128,6 +128,7 @@ my($result) = |
|
|
"extract=s", # extract all files/file from package |
|
|
"extract=s", # extract all files/file from package |
|
|
"remove", "r", # remove all, but conf. |
|
|
"remove", "r", # remove all, but conf. |
|
|
"purge", # remove it all |
|
|
"purge", # remove it all |
|
|
|
|
|
"reinstall", # reinstall |
|
|
"apt", # apt-get |
|
|
"apt", # apt-get |
|
|
"update", # using sources.list |
|
|
"update", # using sources.list |
|
|
"clean", # remove archives or apt2ftp |
|
|
"clean", # remove archives or apt2ftp |
|
@ -1167,7 +1168,7 @@ sub command { |
|
|
$aptor_group = "yes" if ($commands{"y"} || $commands{"z"});; |
|
|
$aptor_group = "yes" if ($commands{"y"} || $commands{"z"});; |
|
|
if ($commands{"z"} || |
|
|
if ($commands{"z"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"purge"}) { |
|
|
$commands{"purge"} || $commands{"reinstall"} ) { |
|
|
require SWIM::Safex; |
|
|
require SWIM::Safex; |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
safex(\%commands); |
|
|
safex(\%commands); |
|
@ -1196,7 +1197,7 @@ sub command { |
|
|
$aptor_group = "yes" if ($commands{"y"} || $commands{"z"});; |
|
|
$aptor_group = "yes" if ($commands{"y"} || $commands{"z"});; |
|
|
if ($commands{"z"} || |
|
|
if ($commands{"z"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"purge"}) { |
|
|
$commands{"purge"} || $commands{"reinstall"}) { |
|
|
require SWIM::Safex; |
|
|
require SWIM::Safex; |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
safex(\%commands); |
|
|
safex(\%commands); |
|
@ -1228,7 +1229,7 @@ sub command { |
|
|
$aptor_group = "yes" if ($commands{"y"} || $commands{"z"});; |
|
|
$aptor_group = "yes" if ($commands{"y"} || $commands{"z"});; |
|
|
if ($commands{"z"} || |
|
|
if ($commands{"z"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"purge"}) { |
|
|
$commands{"purge"} || $commands{"reinstall"}) { |
|
|
require SWIM::Safex; |
|
|
require SWIM::Safex; |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
safex(\%commands); |
|
|
safex(\%commands); |
|
@ -1265,7 +1266,7 @@ sub command { |
|
|
$aptor_group = "yes" if ($commands{"y"} || $commands{"z"});; |
|
|
$aptor_group = "yes" if ($commands{"y"} || $commands{"z"});; |
|
|
if ($commands{"z"} || |
|
|
if ($commands{"z"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"purge"}) { |
|
|
$commands{"purge"} || $commands{"reinstall"}) { |
|
|
require SWIM::Safex; |
|
|
require SWIM::Safex; |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
safex(\%commands); |
|
|
safex(\%commands); |
|
@ -1302,7 +1303,7 @@ sub command { |
|
|
$aptor_group = "yes" if ($commands{"y"} || $commands{"z"});; |
|
|
$aptor_group = "yes" if ($commands{"y"} || $commands{"z"});; |
|
|
if ($commands{"z"} || |
|
|
if ($commands{"z"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"purge"}) { |
|
|
$commands{"purge"} || $commands{"reinstall"}) { |
|
|
require SWIM::Safex; |
|
|
require SWIM::Safex; |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
safex(\%commands); |
|
|
safex(\%commands); |
|
@ -1328,10 +1329,10 @@ sub command { |
|
|
} |
|
|
} |
|
|
if (!($commands{"z"} || |
|
|
if (!($commands{"z"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"purge"})) { |
|
|
$commands{"purge"} || $commands{"reinstall"})) { |
|
|
if ($commands{"x"} || $commands{"ftp"} || $commands{"source"} || |
|
|
if ($commands{"x"} || $commands{"ftp"} || $commands{"source"} || |
|
|
$commands{"source_only"} || $commands{"remove"} || |
|
|
$commands{"source_only"} || $commands{"remove"} || |
|
|
$commands{"r"} || $commands{"purge"}) { |
|
|
$commands{"r"} || $commands{"purge"} || $commands{"reinstall"}) { |
|
|
require SWIM::Safex; |
|
|
require SWIM::Safex; |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
safex(\%commands); |
|
|
safex(\%commands); |
|
@ -1353,7 +1354,7 @@ sub command { |
|
|
$aptor_group = "yes" if ($commands{"y"} || $commands{"z"});; |
|
|
$aptor_group = "yes" if ($commands{"y"} || $commands{"z"});; |
|
|
if ($commands{"z"} || |
|
|
if ($commands{"z"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"purge"}) { |
|
|
$commands{"purge"} || $commands{"reinstall"}) { |
|
|
require SWIM::Safex; |
|
|
require SWIM::Safex; |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
safex(\%commands); |
|
|
safex(\%commands); |
|
@ -1395,7 +1396,7 @@ sub command { |
|
|
@PACKAGES = @ARGV; |
|
|
@PACKAGES = @ARGV; |
|
|
if ($commands{"z"} || |
|
|
if ($commands{"z"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"purge"}) { |
|
|
$commands{"purge"} || $commands{"reinstall"}) { |
|
|
require SWIM::Safex; |
|
|
require SWIM::Safex; |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
safex(\%commands); |
|
|
safex(\%commands); |
|
@ -1436,7 +1437,7 @@ sub command { |
|
|
@PACKAGES = @ARGV; |
|
|
@PACKAGES = @ARGV; |
|
|
if ($commands{"z"} || |
|
|
if ($commands{"z"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"purge"}) { |
|
|
$commands{"purge"} || $commands{"reinstall"}) { |
|
|
require SWIM::Safex; |
|
|
require SWIM::Safex; |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
safex(\%commands); |
|
|
safex(\%commands); |
|
@ -1483,7 +1484,7 @@ sub command { |
|
|
@PACKAGES = @ARGV; |
|
|
@PACKAGES = @ARGV; |
|
|
if ($commands{"z"} || |
|
|
if ($commands{"z"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"purge"}) { |
|
|
$commands{"purge"} || $commands{"reinstall"}) { |
|
|
require SWIM::Safex; |
|
|
require SWIM::Safex; |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
safex(\%commands); |
|
|
safex(\%commands); |
|
@ -1509,10 +1510,10 @@ sub command { |
|
|
} |
|
|
} |
|
|
if (!($commands{"z"} || |
|
|
if (!($commands{"z"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"purge"})) { |
|
|
$commands{"purge"} || $commands{"reinstall"})) { |
|
|
if ($commands{"x"} || $commands{"ftp"} || $commands{"source"} || |
|
|
if ($commands{"x"} || $commands{"ftp"} || $commands{"source"} || |
|
|
$commands{"source_only"} || $commands{"remove"} || |
|
|
$commands{"source_only"} || $commands{"remove"} || |
|
|
$commands{"r"} || $commands{"purge"}) { |
|
|
$commands{"r"} || $commands{"purge"} || $commands{"reinstall"}) { |
|
|
require SWIM::Safex; |
|
|
require SWIM::Safex; |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
safex(\%commands); |
|
|
safex(\%commands); |
|
@ -1546,7 +1547,7 @@ sub command { |
|
|
@PACKAGES = @ARGV; |
|
|
@PACKAGES = @ARGV; |
|
|
if ($commands{"z"} || |
|
|
if ($commands{"z"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"purge"}) { |
|
|
$commands{"purge"} || $commands{"reinstall"}) { |
|
|
require SWIM::Safex; |
|
|
require SWIM::Safex; |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
safex(\%commands); |
|
|
safex(\%commands); |
|
@ -1594,7 +1595,7 @@ sub command { |
|
|
@PACKAGES = @ARGV; |
|
|
@PACKAGES = @ARGV; |
|
|
if ($commands{"z"} || |
|
|
if ($commands{"z"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"purge"}) { |
|
|
$commands{"purge"} || $commands{"reinstall"}) { |
|
|
require SWIM::Safex; |
|
|
require SWIM::Safex; |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
safex(\%commands); |
|
|
safex(\%commands); |
|
@ -1620,10 +1621,10 @@ sub command { |
|
|
} |
|
|
} |
|
|
if (!($commands{"z"} || |
|
|
if (!($commands{"z"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"purge"})) { |
|
|
$commands{"purge"} || $commands{"reinstall"})) { |
|
|
if ($commands{"x"} || $commands{"ftp"} || $commands{"source"} || |
|
|
if ($commands{"x"} || $commands{"ftp"} || $commands{"source"} || |
|
|
$commands{"source_only"} || $commands{"remove"} || |
|
|
$commands{"source_only"} || $commands{"remove"} || |
|
|
$commands{"r"} || $commands{"purge"}) { |
|
|
$commands{"r"} || $commands{"purge"} || $commands{"reinstall"}) { |
|
|
require SWIM::Safex; |
|
|
require SWIM::Safex; |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
safex(\%commands); |
|
|
safex(\%commands); |
|
@ -1658,7 +1659,7 @@ sub command { |
|
|
@PACKAGES = @ARGV; |
|
|
@PACKAGES = @ARGV; |
|
|
if ($commands{"z"} || |
|
|
if ($commands{"z"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"ftp"} || $commands{"remove"} || $commands{"r"} || |
|
|
$commands{"purge"}) { |
|
|
$commands{"purge"} || $commands{"reinstall"}) { |
|
|
require SWIM::Safex; |
|
|
require SWIM::Safex; |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
SWIM::Safex->import(qw(safex)); |
|
|
safex(\%commands); |
|
|
safex(\%commands); |
|
@ -1722,12 +1723,12 @@ Usage: swim [--nopager -n] |
|
|
[-g] [-n] [--dbpath <dir>] [--root <dir>] [--no] |
|
|
[-g] [-n] [--dbpath <dir>] [--root <dir>] [--no] |
|
|
[--arch <architecture>] [--dists <distribution>] |
|
|
[--arch <architecture>] [--dists <distribution>] |
|
|
[-xyrz --remove ? <[--nz]>] [--stdin] |
|
|
[-xyrz --remove ? <[--nz]>] [--stdin] |
|
|
[--purge] [<\\d{1,}>] |
|
|
[--purge] [--reinstall] [<\\d{1,}>] |
|
|
swim {--powersearch --ps ? (--research || --refinesearch) <pattern(s)>} |
|
|
swim {--powersearch --ps ? (--research || --refinesearch) <pattern(s)>} |
|
|
[-n] [--dir] [--dbpath <dir>] [--root <dir>] [--no] |
|
|
[-n] [--dir] [--dbpath <dir>] [--root <dir>] [--no] |
|
|
[--arch <architecture>] [--dists <distribution>] |
|
|
[--arch <architecture>] [--dists <distribution>] |
|
|
[-xyrz --remove ? <[--nz]>] [--stdin] |
|
|
[-xyrz --remove ? <[--nz]>] [--stdin] |
|
|
[--purge] [<\\d{1,}>] |
|
|
[--purge] [--reinstall] [<\\d{1,}>] |
|
|
swim {--query -q} [-afpgn --dir] [--total -t] [-i] [-l ? <[--df]>] |
|
|
swim {--query -q} [-afpgn --dir] [--total -t] [-i] [-l ? <[--df]>] |
|
|
[-d] [-c] [--scripts] [--preinst] [--postinst] |
|
|
[-d] [-c] [--scripts] [--preinst] [--postinst] |
|
|
[--prerm] [--postrm] [--config] [--templates] |
|
|
[--prerm] [--postrm] [--config] [--templates] |
|
@ -1738,7 +1739,7 @@ Usage: swim [--nopager -n] |
|
|
[--copyright] [--changelog] [--allgroups] |
|
|
[--copyright] [--changelog] [--allgroups] |
|
|
[--arch <architecture>] [--dists <distribution>] |
|
|
[--arch <architecture>] [--dists <distribution>] |
|
|
[--stdin] [--extract <ALL|archive|PWD!archive>] |
|
|
[--stdin] [--extract <ALL|archive|PWD!archive>] |
|
|
[-xyrz --remove ? <[--nz]>] [--purge] |
|
|
[-xyrz --remove ? <[--nz]>] [--purge] [--reinstall] |
|
|
[targets | -S ? <\\d{1,}>] |
|
|
[targets | -S ? <\\d{1,}>] |
|
|
swim {--audit --status -C} |
|
|
swim {--audit --status -C} |
|
|
swim {--apt} [--update] [--clean] [--autoclean] [--check] |
|
|
swim {--apt} [--update] [--clean] [--autoclean] [--check] |
|
@ -1794,12 +1795,12 @@ Usage: swim [--nopager -n] |
|
|
[-g] [-n] [--dbpath <dir>] [--root <dir>] [--no] |
|
|
[-g] [-n] [--dbpath <dir>] [--root <dir>] [--no] |
|
|
[--arch <architecture>] [--dists <distribution>] |
|
|
[--arch <architecture>] [--dists <distribution>] |
|
|
[-xyrz --remove ? <[--nz]>] [--stdin] |
|
|
[-xyrz --remove ? <[--nz]>] [--stdin] |
|
|
[--purge] [<\\d{1,}>] |
|
|
[--purge] [--reinstall] [<\\d{1,}>] |
|
|
swim {--powersearch --ps ? (--research || --refinesearch) <pattern(s)>} |
|
|
swim {--powersearch --ps ? (--research || --refinesearch) <pattern(s)>} |
|
|
[-n] [--dir] [--dbpath <dir>] [--root <dir>] [--no] |
|
|
[-n] [--dir] [--dbpath <dir>] [--root <dir>] [--no] |
|
|
[--arch <architecture>] [--dists <distribution>] |
|
|
[--arch <architecture>] [--dists <distribution>] |
|
|
[-xyrz --remove ? <[--nz]>] [--stdin] |
|
|
[-xyrz --remove ? <[--nz]>] [--stdin] |
|
|
[--purge] [<\\d{1,}>] |
|
|
[--purge] [--reinstall] [<\\d{1,}>] |
|
|
swim {--query -q} [-afpgn --dir] [--total -t] [-i] [-l ? <[--df]>] |
|
|
swim {--query -q} [-afpgn --dir] [--total -t] [-i] [-l ? <[--df]>] |
|
|
[-d] [-c] [--scripts] [--preinst] [--postinst] |
|
|
[-d] [-c] [--scripts] [--preinst] [--postinst] |
|
|
[--prerm] [--postrm] [--config] [--templates] |
|
|
[--prerm] [--postrm] [--config] [--templates] |
|
@ -1810,7 +1811,7 @@ Usage: swim [--nopager -n] |
|
|
[--copyright] [--changelog] [--allgroups] |
|
|
[--copyright] [--changelog] [--allgroups] |
|
|
[--arch <architecture>] [--dists <distribution>] |
|
|
[--arch <architecture>] [--dists <distribution>] |
|
|
[--stdin] [--extract <ALL|archive|PWD!archive>] |
|
|
[--stdin] [--extract <ALL|archive|PWD!archive>] |
|
|
[-xyrz --remove ? <[--nz]>] [--purge] |
|
|
[-xyrz --remove ? <[--nz]>] [--purge] [--reinstall] |
|
|
[targets | -S ? <\\d{1,}>] |
|
|
[targets | -S ? <\\d{1,}>] |
|
|
swim {--audit --status -C} |
|
|
swim {--audit --status -C} |
|
|
swim {--apt} [--update] [--clean] [--autoclean] [--check] |
|
|
swim {--apt} [--update] [--clean] [--autoclean] [--check] |
|
@ -1920,6 +1921,8 @@ usage: |
|
|
--remove |
|
|
--remove |
|
|
-r - remove the installed package, but not the |
|
|
-r - remove the installed package, but not the |
|
|
package's configuration files |
|
|
package's configuration files |
|
|
|
|
|
--reinstall - reinstall the installed package |
|
|
|
|
|
|
|
|
Editing Option |
|
|
Editing Option |
|
|
--stdin - allows readline editing capabilities when |
|
|
--stdin - allows readline editing capabilities when |
|
|
used with virtual options |
|
|
used with virtual options |
|
@ -1960,6 +1963,8 @@ usage: |
|
|
--remove |
|
|
--remove |
|
|
-r - remove the installed package, but not the |
|
|
-r - remove the installed package, but not the |
|
|
package's configuration files |
|
|
package's configuration files |
|
|
|
|
|
--reinstall - reinstall the installed package |
|
|
|
|
|
|
|
|
Editing Option |
|
|
Editing Option |
|
|
--stdin - allows readline editing capabilities when |
|
|
--stdin - allows readline editing capabilities when |
|
|
used with virtual options |
|
|
used with virtual options |
|
@ -2122,13 +2127,13 @@ Usage: swim [--nopager -n] |
|
|
[--arch <architecture>] [--dists <distribution>] |
|
|
[--arch <architecture>] [--dists <distribution>] |
|
|
[--ftp ? --source | --source_only ? <[--diff]>] |
|
|
[--ftp ? --source | --source_only ? <[--diff]>] |
|
|
[-xyrz --remove ? <[--nz]>] [--stdin] [--apt2df] |
|
|
[-xyrz --remove ? <[--nz]>] [--stdin] [--apt2df] |
|
|
[--df2apt] [--purge] [<\\d{1,}>] |
|
|
[--df2apt] [--purge] [--reinstall] [<\\d{1,}>] |
|
|
swim {--powersearch --ps ? (--research || --refinesearch) <pattern(s)>} |
|
|
swim {--powersearch --ps ? (--research || --refinesearch) <pattern(s)>} |
|
|
[-n] [--dir] [--dbpath <dir>] [--root <dir>] [--no] |
|
|
[-n] [--dir] [--dbpath <dir>] [--root <dir>] [--no] |
|
|
[--arch <architecture>] [--dists <distribution>] |
|
|
[--arch <architecture>] [--dists <distribution>] |
|
|
[--ftp ? --source | --source_only <[--diff]>] |
|
|
[--ftp ? --source | --source_only <[--diff]>] |
|
|
[-xyrz --remove ? <[--nz]>] [--stdin] [--apt2df] |
|
|
[-xyrz --remove ? <[--nz]>] [--stdin] [--apt2df] |
|
|
[--df2apt] [--purge] [<\\d{1,}>] |
|
|
[--df2apt] [--purge] [--reinstall] [<\\d{1,}>] |
|
|
swim {--query -q} [-afpgn --dir] [--total -t] [-i] [-l ? <[--df]>] |
|
|
swim {--query -q} [-afpgn --dir] [--total -t] [-i] [-l ? <[--df]>] |
|
|
[-d] [-c] [--scripts] [--preinst] [--postinst] |
|
|
[-d] [-c] [--scripts] [--preinst] [--postinst] |
|
|
[--prerm] [--postrm] [-v] [--dbpath <dir>] [--menu -m] |
|
|
[--prerm] [--postrm] [-v] [--dbpath <dir>] [--menu -m] |
|
@ -2139,7 +2144,7 @@ Usage: swim [--nopager -n] |
|
|
[--arch <architecture>] [--dists <distribution>] |
|
|
[--arch <architecture>] [--dists <distribution>] |
|
|
[--ftp ? --source | --source_only ? <[--diff]>] |
|
|
[--ftp ? --source | --source_only ? <[--diff]>] |
|
|
[--stdin] [--extract <ALL|archive|PWD!archive>] |
|
|
[--stdin] [--extract <ALL|archive|PWD!archive>] |
|
|
[-xyrz --remove ? <[--nz]>] [--purge] [--apt2df] |
|
|
[-xyrz --remove ? <[--nz]>] [--purge] [--reinstall] [--apt2df] |
|
|
[--df2apt] [targets | -S ? <\\d{1,}>] |
|
|
[--df2apt] [targets | -S ? <\\d{1,}>] |
|
|
swim {--audit --status -C} |
|
|
swim {--audit --status -C} |
|
|
swim {--ftp} [--Contents <DF|directory>] [--Packages <DF|directory>] |
|
|
swim {--ftp} [--Contents <DF|directory>] [--Packages <DF|directory>] |
|
|