[Piuparts-commits] [piuparts] 04/08: pre_distupgrade_exceptions: prevent disappearance of /etc/udev/rules.d/ on libticables3 removal

Holger Levsen holger at layer-acht.org
Wed May 3 13:40:17 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit e41ab4fddfa9327a094c09d35f54b15017ff17d9
Author: Andreas Beckmann <anbe at debian.org>
Date:   Tue May 2 18:13:05 2017 +0200

    pre_distupgrade_exceptions: prevent disappearance of /etc/udev/rules.d/ on libticables3 removal
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 custom-scripts/scripts/pre_distupgrade_exceptions | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/custom-scripts/scripts/pre_distupgrade_exceptions b/custom-scripts/scripts/pre_distupgrade_exceptions
index 6f2e213..1d7533b 100755
--- a/custom-scripts/scripts/pre_distupgrade_exceptions
+++ b/custom-scripts/scripts/pre_distupgrade_exceptions
@@ -49,6 +49,12 @@ if [ "$PIUPARTS_DISTRIBUTION_NEXT" = "squeeze" ]; then
 		fi
 	fi
 
+	# prevent disappearance of /etc/udev/rules.d/
+	if is_installed libticables3; then
+		log_debug
+		touch /etc/udev/rules.d/.piuparts.dummy
+	fi
+
 fi
 
 if [ "$PIUPARTS_DISTRIBUTION_NEXT" = "wheezy" ]; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list