mirror of
https://github.com/fspc/dswim.git
synced 2025-02-22 00:23:28 -05:00
Fixes a logic bug for install -s.
This commit is contained in:
parent
d9c40d068b
commit
094a3cbcfb
@ -647,7 +647,7 @@ sub xyz {
|
||||
else {
|
||||
if (!$commands->{"download-only"}) {
|
||||
|
||||
if ( $commands->{"install"} ) {
|
||||
if ( !$commands->{"source"} ) {
|
||||
system "$apt_get install -y $arg";
|
||||
}
|
||||
elsif ( $commands->{"source"} ) {
|
||||
@ -678,7 +678,7 @@ sub xyz {
|
||||
}
|
||||
else {
|
||||
|
||||
if ( $commands->{"install"} ) {
|
||||
if ( !$commands->{"source"} ) {
|
||||
system "$apt_get install -y -d $arg";
|
||||
}
|
||||
elsif ( $commands->{"source"} ) {
|
||||
@ -708,7 +708,7 @@ sub xyz {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}x
|
||||
}
|
||||
#######
|
||||
# FTP #
|
||||
|
Loading…
x
Reference in New Issue
Block a user