summaryrefslogtreecommitdiff
path: root/yf-update
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-13 08:12:18 -0700
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-13 08:12:18 -0700
commitaf00a528573bb210260e20a0fa27a0a0a393244a (patch)
tree13f722f5779e796ccc28ee363d5bf87d045cf34b /yf-update
parent436fcd89bf7721f54a359842b4741bc67825411c (diff)
* Fixed issue131
* Fixed issue53
Diffstat (limited to 'yf-update')
-rwxr-xr-xyf-update11
1 files changed, 6 insertions, 5 deletions
diff --git a/yf-update b/yf-update
index c65fc09..9c2131e 100755
--- a/yf-update
+++ b/yf-update
@@ -1,17 +1,18 @@
#!/bin/bash
source $(dirname $0)/local_config
source $(dirname $0)/config
+source $(dirname $0)/libremessages
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
+ makepkg -f
+ find . -name "*${PKGEXT}" -exec mv {} ${STAGING}/libre \;
popd
echo ${blacklist_mtime} > $(dirname $0)/yftime
+ msg2 "built and staged"
+else
+ msg2 "nothing to do"
fi
-
-
-