diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-08-08 11:42:27 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-08-08 11:42:27 +0200 |
commit | 3eb0f6abdb822ae15bcc72626dcdad37c0313927 (patch) | |
tree | b109a600f6e7bfec73e648609938f5bc03c05d66 | |
parent | 20f1c1c27a1691cf92ad11ebc81dfaa175ace305 (diff) | |
download | dbscripts-3eb0f6abdb822ae15bcc72626dcdad37c0313927.tar.gz dbscripts-3eb0f6abdb822ae15bcc72626dcdad37c0313927.tar.xz |
Remove check for old staging dirs
devtools take care of this anyway
-rwxr-xr-x | db-update | 20 |
1 files changed, 0 insertions, 20 deletions
@@ -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 |