summaryrefslogtreecommitdiff
path: root/yf-update
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-17 21:43:02 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-17 21:43:02 -0400
commitea871cfb29b7e9d438cb50c5a75642deee86f652 (patch)
tree90d5e6a86e65546541301bce6c2667950867d125 /yf-update
parent22f7ae3e5c791694edf4c4b6e5f8623f9a9dddf4 (diff)
rm -r yf/ yf-update # they aren't used anymore
Diffstat (limited to 'yf-update')
-rwxr-xr-xyf-update18
1 files changed, 0 insertions, 18 deletions
diff --git a/yf-update b/yf-update
deleted file mode 100755
index b6dff14..0000000
--- a/yf-update
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-source "$(dirname "$(readlink -e "$0")")/config"
-source "$(dirname "$(readlink -e "$0")")/local_config"
-source "$(dirname "$(readlink -e "$0")")/libremessages"
-
-blacklist_mtime=$(printf "%.0f" $(find ${blacklist} -printf "%T@"))
-last_bl_mtime=$(cat "$(dirname "$(readlink -e "$0")")/yftime")
-
-if [ $blacklist_mtime -gt $last_bl_mtime ]; then
- pushd "$(dirname "$(readlink -e "$0")")/yf"
- makepkg -f
- find . -name "*${PKGEXT}" -exec mv {} ${STAGING}/libre \;
- popd
- echo ${blacklist_mtime} > "$(dirname "$(readlink -e "$0")")/yftime"
- msg2 "built and staged"
-else
- msg2 "nothing to do"
-fi