Skip to content

Commit

Permalink
v0.2.3 - code cleanup, was printing a test check
Browse files Browse the repository at this point in the history
  • Loading branch information
tavinus committed Jun 26, 2017
1 parent 5776943 commit 7cb1f64
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions opkg-upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


### Initialization
OPKGUPVERSION="0.2.2"
OPKGUPVERSION="0.2.3"
OPKGBIN="$(which opkg 2>/dev/null)"
SSMTPBIN="$(which ssmtp 2>/dev/null)"
BANNERSTRING="Simple OPKG Updater v$OPKGUPVERSION"
Expand Down Expand Up @@ -89,15 +89,13 @@ main() {
echo -e "$email_data" | "$SSMTPBIN" "$SEND_TO"
exit $?
fi
else
echo "whyyyy"
fi
exit 0
else
echo -e "$uplist"
fi
just_print && exit 0
opkg_has_update || { echo ; exit 0 ; }
opkg_has_update || { echo '' ; exit 0 ; }

if ! no_confirm; then
if ! confirm_upgrade; then
Expand Down

0 comments on commit 7cb1f64

Please sign in to comment.