INNER CODE UNIT · Shell

count

magenx/Magento-2-server-installation · magenx.install.latest.sh:105

    local count=${1:-1}
    printf '%0.s\n' $(seq 1 $count)
}

PACKAGES_INSTALLED () {
GREENTXT "Installed: "
apt -qq list --installed $@ 2>/dev/null | awk '{print "   " $0}'
}
###################################################################################
###                            ARROW KEYS UP/DOWN MENU                          ###
###################################################################################
updown_menu () {
i=1;for items in $(echo $1); do item[$i]="${items}"; let i=$i+1; done
i=1
echo -e "\n  Use up/down arrow keys then press [ Enter ] to select $2"
while [ 0 ]; do
  if [ "$i" -eq 0 ]; then i=1; fi
  if [ ! "${item[$i]}" ]; then let i=i-1; fi

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…