summaryrefslogtreecommitdiffstats
path: root/db-update
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-08 11:42:27 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-08 11:42:27 +0200
commit3eb0f6abdb822ae15bcc72626dcdad37c0313927 (patch)
treeb109a600f6e7bfec73e648609938f5bc03c05d66 /db-update
parent20f1c1c27a1691cf92ad11ebc81dfaa175ace305 (diff)
downloaddbscripts-3eb0f6abdb822ae15bcc72626dcdad37c0313927.tar.gz
dbscripts-3eb0f6abdb822ae15bcc72626dcdad37c0313927.tar.xz
Remove check for old staging dirs
devtools take care of this anyway
Diffstat (limited to 'db-update')
-rwxr-xr-xdb-update20
1 files changed, 0 insertions, 20 deletions
diff --git a/db-update b/db-update
index 057de39..9dd5c9d 100755
--- a/db-update
+++ b/db-update
@@ -34,26 +34,6 @@ if [ ! -d $stagedir ]; then
exit 1
fi
-if [ -d "${stagedir}64" ]; then
- echo "--------------------------------------------------"
- echo "It looks like you have an old staging dir"
- echo "Packages are now differentiated by the arch in the filename."
- echo "Please delete '${stagedir}64'"
- echo "--------------------------------------------------"
- /bin/mv "${stagedir}64/add/"* "$stagedir/add/"
- /bin/mv "${stagedir}64/del/"* "$stagedir/del/"
-fi
-
-if [ -d "${stagedir}/add" ]; then
- echo "--------------------------------------------------"
- echo "It looks like you have an old staging dir"
- echo "The 'add' and 'del' dirs are no longer used."
- echo "Please delete staging/<reponame>/{add,del}"
- echo " and ensure you are using the newest devtools"
- echo "--------------------------------------------------"
- /bin/mv "${stagedir}/add/"* "$stagedir/"
-fi
-
cleanup() {
trap '' 0 2
repo_unlock $reponame $current_arch