summaryrefslogtreecommitdiff
path: root/repo-update
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-04-22 18:22:15 -0700
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-04-22 18:22:15 -0700
commit63bf094a4e472b2bc15ed03fb956401b9246660e (patch)
tree7d40ff5b3b79cbd515b7c25a67697bc07185d6b6 /repo-update
parent65cb50c483621d6043685513531001a24228062b (diff)
repo-update source ~/.bashrc
Diffstat (limited to 'repo-update')
-rwxr-xr-xrepo-update4
1 files changed, 2 insertions, 2 deletions
diff --git a/repo-update b/repo-update
index 8ad5aef..d06b927 100755
--- a/repo-update
+++ b/repo-update
@@ -1,6 +1,6 @@
#!/bin/bash
# -*- coding: utf-8 -*-
-
+source ~/.bashrc
source $(dirname $0)/config
source $(dirname $0)/local_config
source $(dirname $0)/libremessages
@@ -46,7 +46,7 @@ for repo in ${ARCHREPOS[@]}; do
done
msg "Removing leftover files..."
-find ${repodir}/staging/ \! -name "*${PKGEXT}*" -delete
+find ${repodir}/staging/ -type f \! -name "*${PKGEXT}" -delete
db-update
$(dirname $0)/cron-jobs/ftpdir-cleanup