buildrepo: add message that we are puring old packages

This commit is contained in:
Natanael Copa 2013-02-07 16:06:38 +00:00
parent 5f453f1cde
commit 2f68278fba
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ build() {
# kill old packages in repo
if [ -n "$dopurge" ]; then
echo ">>> Removing old packages from $repo..."
local tmp=$(mktemp /tmp/$program-XXXXXX)
local purgefiles
cd "$repodir/$repo/$arch" || return 1