X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=proftpd-cn.git;a=blobdiff_plain;f=debian%2Fpostinst;fp=debian%2Fpostinst;h=12fb26e1153df8289e3401c16a99d3b7813d3b20;hp=9d8f3ce461d043aaf35a197894345657c5e58896;hb=d823b543d6437fd946f1783a5df45b44b882e618;hpb=2b68c779de205d3c4e0b6aaafd6445c2b7b1a7c5 diff --git a/debian/postinst b/debian/postinst index 9d8f3ce..12fb26e 100755 --- a/debian/postinst +++ b/debian/postinst @@ -8,8 +8,9 @@ set -e # created: 2002-11-15 Bozo Juretic # last update: 2007-05-14 Zoran Dzelajlija # last update: 2011-04-24 Dinko Korunic +# last update: 2020-08-14 Ivan Rako -# Load CARNet Tools +# Load CARNET Tools . /usr/share/carnet-tools/functions.sh # Load Debconf @@ -130,16 +131,6 @@ EOF fi } -# purge starog proftpd-common paketa bi napravio rusvaj -defuse_old_postrm() { - if [ -f /var/lib/dpkg/info/proftpd-common.postrm ]; then - cp_check_and_sed '^[^#]*(update-rc.d|update-inetd|/var/run/proftpd)' \ - '/update-rc.d/d; /update-inetd/d; /var\/run\/proftpd/d' \ - /var/lib/dpkg/info/proftpd-common.postrm || true - fi -} - -defuse_old_postrm disable_anonymous make_ssl_cert fix_conf