[Git][debian-proftpd-team/proftpd][master] Fixed d/preinst file for -basic -> -core renaming.

Francesco Paolo Lovergine frankie at debian.org
Sun Jan 3 14:12:57 GMT 2021



Francesco Paolo Lovergine pushed to branch master at Debian ProFTPD Team / proftpd


Commits:
d1db2e87 by Francesco Paolo Lovergine at 2021-01-03T15:12:08+01:00
Fixed d/preinst file for -basic -> -core renaming.

- - - - -


2 changed files:

- debian/changelog
- debian/proftpd-core.preinst


Changes:

=====================================
debian/changelog
=====================================
@@ -8,6 +8,8 @@ proftpd-dfsg (1.3.7a+dfsg-9) UNRELEASED; urgency=medium
   * Added a not-installed file for stuff not installed in any package.
   * Some contrib/ files are now installed by upstream, so changed a bit
     the d/install file.
+  * Now in preinst move past existing logrotate file to the new name.
+  * Removed spurious exit in preinst that prevented run of dh section.
 
  -- Hilmar Preusse <hille42 at web.de>  Sat, 02 Jan 2021 20:30:00 +0100
 


=====================================
debian/proftpd-core.preinst
=====================================
@@ -9,13 +9,11 @@ set -e
 #        * <old-preinst> `abort-upgrade' <new-version>
 #
 
+[ -f /etc/logrotate.d/proftpd-basic ] && \
+	mv -f /etc/logrotate.d/proftpd-basic /etc/logrotate.d/proftpd-core
+
 if [ "$1" = "upgrade" ]; then
      invoke-rc.d proftpd stop >/dev/null 2>&1 || true 
 fi
 
-exit 0
-
 #DEBHELPER#
-
-
-



View it on GitLab: https://salsa.debian.org/debian-proftpd-team/proftpd/-/commit/d1db2e87543f878e2a2672f910b61a28ad6abd90

-- 
View it on GitLab: https://salsa.debian.org/debian-proftpd-team/proftpd/-/commit/d1db2e87543f878e2a2672f910b61a28ad6abd90
You're receiving this email because of your account on salsa.debian.org.




More information about the Pkg-proftpd-maintainers mailing list