From cb385a8f143ae14aeff4710cd87713c33c4e8e7e Mon Sep 17 00:00:00 2001 From: MatMoul Date: Fri, 3 Feb 2017 19:40:34 +0100 Subject: [PATCH] Reorder update menu --- updates/menu | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/updates/menu b/updates/menu index 618e8de..8aca2cc 100644 --- a/updates/menu +++ b/updates/menu @@ -33,18 +33,19 @@ if [ ! -f /usr/bin/downgrade ]; then options+=("" "") fi if [ "$aurhelper" = "1" ]; then - if [ ! -f /usr/bin/yaourt ]; then - options+=("Install yaourt" "") - fi - if [ ! -f /usr/bin/packer ]; then - options+=("Install packer" "") - fi if [ ! -f /usr/bin/pkgstats ]; then options+=("Install pkgstats" "") fi if [ ! -f /usr/bin/aurvote ]; then options+=("Install aurvote" "") fi + options+=("" "") + if [ ! -f /usr/bin/yaourt ]; then + options+=("Install yaourt" "") + fi + if [ ! -f /usr/bin/packer ]; then + options+=("Install packer" "") + fi fi sel=$(whiptail --backtitle "$apptitle" --title "Updates Menu :" --menu "" --cancel-button "Back" 0 0 0 \