From a08b57a14e911da945a1ee01b0393ba82a891efe Mon Sep 17 00:00:00 2001 From: helixarch Date: Sat, 6 Jun 2015 00:52:46 +0300 Subject: [PATCH] Update --- debtap | 1 + 1 file changed, 1 insertion(+) diff --git a/debtap b/debtap index e2f6423..69e7291 100755 --- a/debtap +++ b/debtap @@ -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