X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fdinstall.functions;h=5f8221044c2392687574aaf24216cb01c03eeaeb;hb=f1e3abea4079e50b95c189fc00e06b119f24c165;hp=dbbf30a8702b415701e62645e8dc43f9a86f11bf;hpb=8546e8120b62ba71c40caa22e889ee5449f18675;p=dak.git diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index dbbf30a8..5f822104 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -59,25 +59,6 @@ function pgdump_post() { #ln -sf $base/backup/dumpall_$POSTDUMP currentall } -# Load the dak-dev projectb -function pgdakdev() { - # Make sure to unset any possible psql variables so we don't drop the wrong - # f****** database by accident - local PGDATABASE - unset PGDATABASE - local PGHOST - unset PGHOST - local PGPORT - unset PGPORT - local PGUSER - unset PGUSER - cd $base/backup - echo "drop database projectb" | psql -p 5434 template1 - #cat currentall | psql -p 5433 template1 - createdb -p 5434 -T template1 projectb - fgrep -v '\connect' current | psql -p 5434 projectb -} - # Updating various files function updates() { log "Updating Bugs docu, Mirror list and mailing-lists.txt"