diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-13 08:37:38 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-13 08:37:38 -0500 |
commit | c991efcdf97748614c99dc23bf8f1ecbab99a247 (patch) | |
tree | 6fb8df09a12af123e95f24e1a741206715682bc4 /yf-update | |
parent | cd93439c7eb71c380ab0355306a760b7bb5f77ee (diff) |
fix issue 53
Diffstat (limited to 'yf-update')
-rwxr-xr-x | yf-update | 17 |
1 files changed, 17 insertions, 0 deletions
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 + + + |