summaryrefslogtreecommitdiffstats
path: root/db-functions
diff options
context:
space:
mode:
Diffstat (limited to 'db-functions')
-rw-r--r--db-functions7
1 files changed, 4 insertions, 3 deletions
diff --git a/db-functions b/db-functions
index 6bd3b5d..8e239f1 100644
--- a/db-functions
+++ b/db-functions
@@ -26,8 +26,8 @@ mv_acl() {
if [[ $USER != $DBSCRIPTS_USER ]]; then
exec sudo -H -u $DBSCRIPTS_USER "$0" "$@"
-else
- cd "$TMPDIR"
+#else
+ #cd "$TMPDIR"
fi
# set up general environment
@@ -626,9 +626,10 @@ get_file_from_pkgrepo() {
# TODO: implement svn/git extraction
# for git: cd $whereever; git show $tag:$filename
- curl -s https://projects.archlinux.org/svntogit/community.git/plain/trunk/$filename?h=packages/$pkgbase
+ #curl -s https://projects.archlinux.org/svntogit/community.git/plain/trunk/$filename?h=packages/$pkgbase
# TODO: this requires us to restructure the repos
#arch_svn cat "${SVNREPO}/${_pkgbase}/tags/$tag/$filename"
+ arch_svn cat "${SVNREPO}/${_pkgbase}/trunk/$filename"
}
arch_svn() {