Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
rajudev
diaspora-installer
Commits
3358f0f5
Commit
3358f0f5
authored
Apr 26, 2017
by
Praveen Arimbrathodiyil
Browse files
read values from config file to debconf db
parent
392264a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian/diaspora-common.config
View file @
3358f0f5
#!/bin/sh
# config maintainer script for diaspora-installer
# config maintainer script for diaspora-common
CONFIGFILE
=/
etc
/
diaspora
.
conf
set
-
e
# source debconf stuff
. /
usr
/
share
/
debconf
/
confmodule
# Load config file, if it exists.
if
[ -
e
$
CONFIGFILE
];
then
. $
CONFIGFILE
||
true
# Store values from config file into
# debconf db.
db_set
diaspora
-
common
/
url
"$SERVERNAME"
db_set
diaspora
-
common
/
ssl
"$diaspora_https:-true"
db_set
diaspora
-
common
/
letsencrypt
"${diaspora_letsencrypt:-false}"
fi
# What is your pod address?
db_input
high
diaspora
-
common
/
url
||
true
db_go
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment