From 7cb1f648bf45c3c2080f923a723598666bcffb9e Mon Sep 17 00:00:00 2001 From: tavinus Date: Mon, 26 Jun 2017 00:44:58 -0300 Subject: [PATCH] v0.2.3 - code cleanup, was printing a test check --- opkg-upgrade.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/opkg-upgrade.sh b/opkg-upgrade.sh index 76d71a2..5af736b 100755 --- a/opkg-upgrade.sh +++ b/opkg-upgrade.sh @@ -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" @@ -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