This commit is contained in:
helixarch 2015-06-06 00:52:46 +03:00
parent d34b5709c5
commit a08b57a14e

1
debtap
View File

@ -27,6 +27,7 @@ elif [[ "$1" == "-u" ]] || [[ "$1" = "--u" ]] || [[ "$1" == "-update" ]] || [[ "
if [[ $EUID != 0 ]]; then
echo -e "${red}Error: You must run this command with root privileges${NC}"; exit 1
else
mkdir -p /var/cache/debtap 2> /dev/null
echo -e "${lightgreen}==>${NC} ${bold}Synchronizing pkgfile database...${normal}"
pkgfile -u
if [[ $(echo $?) != 0 ]]; then