#!/bin/bash polaur_url="https://github.com/polaur" feed_URL="https://forum.archlinux.org.pl/extern.php?action=feed&tid=615&type=atom" feed_number=8 download_path="${HOME}/.cache/polaur" makepkg_flags="-fsirc" # colors RESET="\e[0m" RED="\e[1;31m" GREEN="\e[1;32m" YELLOW="\e[1;33m" BLUE="\e[1;34m" MAGENTA="\e[1;35m" CYAN="\e[1;36m" BOLD="\e[1;39m" error() { echo -e "-------------------------------" echo -e "${RED}$(gettext 'Niepoprawny wybór:')${RESET} $@" echo -e "$(gettext 'Wracam do menu głównego.')" echo -e "-------------------------------\n" read -rsn 1 -p "$(gettext 'Naciśnij dowolny przycisk, aby kontynuować...')" clear } error2() { echo -e "${RED}$(gettext 'Niepoprawny wybór:')${RESET} $@. $(gettext 'Pomijam')" } show_title() { # downloading POLAUR main github site curl -s "${polaur_url}" | sed 's/Asset 1//g' > /tmp/polaur # title and description #title=$( cat /tmp/polaur | grep -E '