[Git][debian-proftpd-team/proftpd][master] Added sftp.conf to postinst
Francesco Paolo Lovergine
frankie at debian.org
Sat Dec 19 09:30:27 GMT 2020
Francesco Paolo Lovergine pushed to branch master at Debian ProFTPD Team / proftpd
Commits:
ede8dc2e by Francesco Paolo Lovergine at 2020-12-19T10:30:11+01:00
Added sftp.conf to postinst
- - - - -
1 changed file:
- debian/proftpd-core.postinst
Changes:
=====================================
debian/proftpd-core.postinst
=====================================
@@ -106,7 +106,7 @@ replace_file () {
ucf --debconf-ok ${file}.proftpd-new $file
fi
}
-
+sftp
do_update () {
file=$1
if diff -q ${file} ${file}.proftpd-new >/dev/null 2>&1; then
@@ -193,6 +193,7 @@ if [ "$1" = "configure" ]; then
do_update /etc/proftpd/sql.conf
do_update /etc/proftpd/ldap.conf
do_update /etc/proftpd/virtuals.conf
+ do_update /etc/proftpd/sftp.conf
# be safe and change permissions for .conf files where passwords should
# potentially be present
View it on GitLab: https://salsa.debian.org/debian-proftpd-team/proftpd/-/commit/ede8dc2e08facf3229e9065f88d460e8b85407da
--
View it on GitLab: https://salsa.debian.org/debian-proftpd-team/proftpd/-/commit/ede8dc2e08facf3229e9065f88d460e8b85407da
You're receiving this email because of your account on salsa.debian.org.
More information about the Pkg-proftpd-maintainers
mailing list