Commit f8ecb7e4 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

don't ask questions when upgrading minerva

parent 904dc7ed
minerva (14.0.0~alpha.1) unstable; urgency=low
* Feature: log4j is replaced with log4j2 logging mechanism (#291)
* Feature removal: BioCompendium annotator removed (#32)
-- Piotr Gawron <piotr.gawron@uni.lu> Thu, 16 May 2019 15:00:00 +0200
minerva (14.0.0~alpha.0) unstable; urgency=low minerva (14.0.0~alpha.0) unstable; urgency=low
* Feature: log4j is replaced with log4j2 logging mechanism (#291) * Feature: log4j is replaced with log4j2 logging mechanism (#291)
* Feature removal: BioCompendium annotator removed (#32) * Feature removal: BioCompendium annotator removed (#32)
......
...@@ -13,6 +13,7 @@ then ...@@ -13,6 +13,7 @@ then
mkdir /etc/minerva/ mkdir /etc/minerva/
fi fi
if [ -f /usr/share/dbconfig-common/dpkg/config.pgsql ]; then if [ -f /usr/share/dbconfig-common/dpkg/config.pgsql ]; then
. /usr/share/dbconfig-common/dpkg/config.pgsql . /usr/share/dbconfig-common/dpkg/config.pgsql
DB_HOST="localhost" DB_HOST="localhost"
...@@ -28,6 +29,8 @@ if [ -f /usr/share/dbconfig-common/dpkg/config.pgsql ]; then ...@@ -28,6 +29,8 @@ if [ -f /usr/share/dbconfig-common/dpkg/config.pgsql ]; then
DB_DATABASE_NAME=`cat $DB_PROPERTIES_FILE |grep "uri" |cut -f4 -d"/"` DB_DATABASE_NAME=`cat $DB_PROPERTIES_FILE |grep "uri" |cut -f4 -d"/"`
DB_USERNAME=`cat $DB_PROPERTIES_FILE |grep "username" |cut -f2 -d"="` DB_USERNAME=`cat $DB_PROPERTIES_FILE |grep "username" |cut -f2 -d"="`
DB_PASSWORD=`cat $DB_PROPERTIES_FILE |grep "password" |cut -f2 -d"="` DB_PASSWORD=`cat $DB_PROPERTIES_FILE |grep "password" |cut -f2 -d"="`
db_set minerva/dbconfig-install true
db_fset minerva/dbconfig-install seen true
fi fi
echo "dbserver=$DB_HOST" > /etc/minerva/old.sh echo "dbserver=$DB_HOST" > /etc/minerva/old.sh
echo "dbport=$DB_PORT" >> /etc/minerva/old.sh echo "dbport=$DB_PORT" >> /etc/minerva/old.sh
......
...@@ -87,6 +87,7 @@ ...@@ -87,6 +87,7 @@
"version": "0.1.4", "version": "0.1.4",
"resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz", "resolved": "https://registry.npmjs.org/align-text/-/align-text-0.1.4.tgz",
"integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=", "integrity": "sha1-DNkKVhCT810KmSVsIrcGlDP60Rc=",
"optional": true,
"requires": { "requires": {
"kind-of": "^3.0.2", "kind-of": "^3.0.2",
"longest": "^1.0.1", "longest": "^1.0.1",
...@@ -3309,7 +3310,8 @@ ...@@ -3309,7 +3310,8 @@
"longest": { "longest": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz",
"integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=" "integrity": "sha1-MKCy2jj3N3DoKUoNIuZiXtd9AJc=",
"optional": true
}, },
"loose-envify": { "loose-envify": {
"version": "1.3.1", "version": "1.3.1",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment