mirror of
https://github.com/fspc/dswim.git
synced 2025-02-22 08:33:24 -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 {
|
else {
|
||||||
if (!$commands->{"download-only"}) {
|
if (!$commands->{"download-only"}) {
|
||||||
|
|
||||||
if ( $commands->{"install"} ) {
|
if ( !$commands->{"source"} ) {
|
||||||
system "$apt_get install -y $arg";
|
system "$apt_get install -y $arg";
|
||||||
}
|
}
|
||||||
elsif ( $commands->{"source"} ) {
|
elsif ( $commands->{"source"} ) {
|
||||||
@ -678,7 +678,7 @@ sub xyz {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
if ( $commands->{"install"} ) {
|
if ( !$commands->{"source"} ) {
|
||||||
system "$apt_get install -y -d $arg";
|
system "$apt_get install -y -d $arg";
|
||||||
}
|
}
|
||||||
elsif ( $commands->{"source"} ) {
|
elsif ( $commands->{"source"} ) {
|
||||||
@ -708,7 +708,7 @@ sub xyz {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}x
|
||||||
}
|
}
|
||||||
#######
|
#######
|
||||||
# FTP #
|
# FTP #
|
||||||
|
Loading…
x
Reference in New Issue
Block a user