source: debian/i2p.config @ 9e6885d

Last change on this file since 9e6885d was f674b78, checked in by kytv <kytv@…>, 9 years ago

Fix ticket #514 (debconf values are overwritten upon installation)

  • Property mode set to 100755
File size: 388 bytes
Line 
1#!/bin/sh -e
2# I2P package configuration script
3
4conffile="/etc/default/i2p"
5
6. /usr/share/debconf/confmodule
7
8# Load config file if it exists
9if [ -e $conffile ]; then
10        . $conffile
11
12        db_set i2p/daemon "$RUN_DAEMON"
13        db_set i2p/user "$I2PUSER"
14fi
15
16db_input medium i2p/daemon || true
17db_go
18db_get i2p/daemon || true
19if [ "$RET" = "true" ]; then
20        db_input medium i2p/user || true
21        db_go
22fi
Note: See TracBrowser for help on using the repository browser.