From c08e8f1dfe86190b3acd0bd3b35a056df7096a03 Mon Sep 17 00:00:00 2001
From: Philipp Kern <pkern@debian.org>
Date: Mon, 7 Feb 2011 15:39:05 +0000
Subject: [PATCH] Move scripts out of the base directory.

---
 expire_dumps => bin/expire_dumps | 0
 bin/save-database                | 2 +-
 fixperms                         | 8 --------
 3 files changed, 1 insertion(+), 9 deletions(-)
 rename expire_dumps => bin/expire_dumps (100%)
 delete mode 100755 fixperms

diff --git a/expire_dumps b/bin/expire_dumps
similarity index 100%
rename from expire_dumps
rename to bin/expire_dumps
diff --git a/bin/save-database b/bin/save-database
index 4bb5fae..cfbc403 100755
--- a/bin/save-database
+++ b/bin/save-database
@@ -7,6 +7,6 @@ sudo -u postgres /usr/bin/pg_dumpall --cluster 8.4/wanna-build | gzip > /org/wan
 # Expire dumps only on post-trigger saves.
 if [ "$PREFIX" = "post" ]
 then
-	(cd /org/wanna-build/dumps && /org/wanna-build/expire_dumps -d . -f "dump_*")
+	(cd /org/wanna-build/dumps && /org/wanna-build/bin/expire_dumps -d . -f "dump_*")
 fi
 
diff --git a/fixperms b/fixperms
deleted file mode 100755
index 322a409..0000000
--- a/fixperms
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-#
-# This is meant to be run from the db dir with an arch param
-
-if [ -d "$1" ]; then
-	chmod 664 $1/build-db-*
-	chmod 660 $1/build-db-*-security
-fi
-- 
2.39.5