~libravatar/libravatar/master

« back to all changes in this revision

Viewing changes to debian/libravatar-seccdn.postinst

  • Committer: Francois Marier
  • Date: 2011-01-15 03:24:42 UTC
  • Revision ID: git-v1:c275ba9b1c75e19cbad2b9053b174de3b4afb287
Remove unnecessary set_config function in postinst scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
. /usr/share/debconf/confmodule
21
21
 
22
 
set_config () {
23
 
    perl -i -e '$field=shift;$value=shift if (scalar(@ARGV)>1);$value||="";while (<>) { s/^\s*($field\s*=\s*).*/$1$value/; print; }' $1 $2 $3;
24
 
}
25
 
 
26
22
APACHE_CONFIG=/etc/libravatar/seccdn.apache2.conf
27
23
 
28
24
case "$1" in