1
0
mirror of https://github.com/fspc/dswim.git synced 2025-02-22 00:23:28 -05:00

The install for -y still had simulate in it, removed that . .this was for

--purge --reinstall ..etc
This commit is contained in:
freesource 2001-10-23 05:46:28 +00:00
parent 1a233fa17b
commit 305b5447c6

View File

@ -805,16 +805,16 @@ sub purge {
if (!$commands->{"download-only"}) {
if ($commands->{"purge"}) {
system "$apt_get -s --purge remove $arg";
system "$apt_get -y --purge remove $arg";
}
elsif ($commands->{"remove"} || $commands->{"r"}) {
system "$apt_get -s remove $arg";
system "$apt_get -y remove $arg";
}
elsif ($commands->{"reinstall"}) {
system "$apt_get -s --reinstall install $arg";
system "$apt_get -y --reinstall install $arg";
}
elsif ($commands->{"build-dep"}) {
system "$apt_get -s build-dep $arg";
system "$apt_get -y build-dep $arg";
}
}
@ -822,16 +822,16 @@ sub purge {
else {
if ($commands->{"purge"}) {
system "$apt_get -sd --purge remove $arg";
system "$apt_get -yd --purge remove $arg";
}
elsif ($commands->{"remove"} || $commands->{"r"}) {
system "$apt_get -sd remove $arg";
system "$apt_get -yd remove $arg";
}
elsif ($commands->{"reinstall"}) {
system "$apt_get -sd --reinstall install $arg";
system "$apt_get -yd --reinstall install $arg";
}
elsif ($commands->{"build-dep"}) {
system "$apt_get -sd build-dep $arg";
system "$apt_get -yd build-dep $arg";
}
}