~libravatar/libravatar/master

« back to all changes in this revision

Viewing changes to debian/libravatar-www.postinst

  • Committer: Francois Marier
  • Date: 2016-01-11 06:10:49 UTC
  • mto: This revision was merged to the branch mainline in revision 939.
  • Revision ID: git-v1:515227d9875f63bd16394a9094f8b9dad46d2ca2
Add trailing slash to *MEDIA_URL

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
        set_dbconfig PASSWORD "${RET}" ${SETTINGS_PY}
61
61
 
62
62
        db_get libravatar-common/cdnservername
63
 
        set_config MEDIA_URL "http://${RET}" ${SETTINGS_PY}
 
63
        set_config MEDIA_URL "http://${RET}/" ${SETTINGS_PY}
64
64
 
65
65
        db_get libravatar-common/seccdnservername
66
66
        VALUE=${RET}
67
67
        if [ "z${VALUE}" = "z" ] ; then
68
68
            set_config SECURE_MEDIA_URL "" ${SETTINGS_PY}
69
69
        else
70
 
            set_config SECURE_MEDIA_URL "https://${VALUE}" ${SETTINGS_PY}
 
70
            set_config SECURE_MEDIA_URL "https://${VALUE}/" ${SETTINGS_PY}
71
71
        fi
72
72
 
73
73
        db_get libravatar-common/wwwservername