From c991efcdf97748614c99dc23bf8f1ecbab99a247 Mon Sep 17 00:00:00 2001
From: Joshua Ismael Haase Hernández <hahj87@gmail.com>
Date: Mon, 13 Jun 2011 08:37:38 -0500
Subject: fix issue 53

---
 .gitignore |  5 +++--
 yf-update  | 17 +++++++++++++++++
 2 files changed, 20 insertions(+), 2 deletions(-)
 create mode 100755 yf-update

diff --git a/.gitignore b/.gitignore
index 45688ab..ee8bbb8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,5 +3,6 @@
 local_config
 /config.local
 test/packages/*/*.pkg.tar.?z
-#*#
-.#*
\ No newline at end of file
+\#*#
+.#*
+yftime
\ No newline at end of file
diff --git a/yf-update b/yf-update
new file mode 100755
index 0000000..c65fc09
--- /dev/null
+++ b/yf-update
@@ -0,0 +1,17 @@
+#!/bin/bash
+source $(dirname $0)/local_config
+source $(dirname $0)/config
+
+blacklist_mtime=$(printf "%.0f" $(find ${blacklist} -printf "%T@"))
+last_bl_mtime=$(cat $(dirname $0)/yftime)
+
+if [ $blacklist_mtime -gt $last_bl_mtime ]; then
+    pushd $(dirname $0)/yf
+    makepkg
+    rsync -L ./*.${PKGEXT} ${STAGING}/libre
+    popd
+    echo ${blacklist_mtime} > $(dirname $0)/yftime
+fi
+    
+
+
-- 
cgit v1.2.3-54-g00ecf