Browse Source

Fixes a logic bug for install -s.

master
freesource 23 years ago
parent
commit
094a3cbcfb
  1. 6
      SWIM/Safex.pm

6
SWIM/Safex.pm

@ -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…
Cancel
Save