[ARVADOS] created: 1.3.0-3299-gc20d55097

Git user git at public.arvados.org
Sat Oct 10 12:56:37 UTC 2020


        at  c20d55097c736db8881db8702ed89501020c2b5a (commit)


commit c20d55097c736db8881db8702ed89501020c2b5a
Author: Ward Vandewege <ward at curii.com>
Date:   Sat Oct 10 08:56:02 2020 -0400

    16922: disable the postgres pager in the rails postinst script.
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>

diff --git a/build/rails-package-scripts/postinst.sh b/build/rails-package-scripts/postinst.sh
index 7ea21848b..357c10064 100644
--- a/build/rails-package-scripts/postinst.sh
+++ b/build/rails-package-scripts/postinst.sh
@@ -212,6 +212,8 @@ configure_version() {
   chown "$WWW_OWNER:" $RELEASE_PATH/Gemfile.lock
   chown -R "$WWW_OWNER:" $RELEASE_PATH/tmp || true
   chown -R "$WWW_OWNER:" $SHARED_PATH/log
+  # Make sure postgres doesn't try to use a pager.
+  export PAGER=
   case "$RAILSPKG_DATABASE_LOAD_TASK" in
       db:schema:load) chown "$WWW_OWNER:" $RELEASE_PATH/db/schema.rb ;;
       db:structure:load) chown "$WWW_OWNER:" $RELEASE_PATH/db/structure.sql ;;

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list